changeset 222:9211e5f3a380

fixed MoinMoinBugs/EditCancelBeforePageIsLoaded imported from: moin--main--1.5--patch-225
author Florian Festi <Florian.Festi@trick.informatik.uni-stuttgart.de>
date Sat, 19 Nov 2005 13:38:06 +0000
parents b1d744e2fd29
children b14226034a35
files MoinMoin/wikiaction.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/wikiaction.py	Fri Nov 18 20:11:50 2005 +0000
+++ b/MoinMoin/wikiaction.py	Sat Nov 19 13:38:06 2005 +0000
@@ -565,7 +565,7 @@
 
     # Edit was canceled
     if request.form.has_key('button_cancel'):
-        pg.sendCancel(savetext, rev)
+        pg.sendCancel(savetext or "", rev)
         return
 
     # is invoked without savetext start editing