changeset 3305:dc56d314cc92

fix my redirect backto commit
author Johannes Berg <johannes AT sipsolutions DOT net>
date Tue, 18 Mar 2008 19:03:04 +0100
parents db48ab0b2bf8
children e50210d37a8d
files MoinMoin/PageEditor.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/PageEditor.py	Tue Mar 18 18:46:51 2008 +0100
+++ b/MoinMoin/PageEditor.py	Tue Mar 18 19:03:04 2008 +0100
@@ -525,7 +525,7 @@
             request.http_redirect(pg.url(request, relative=False))
         else:
             request.theme.add_msg(_('Edit was cancelled.'), "error")
-            page.send_page()
+            self.send_page()
 
     def copyPage(self, newpagename, comment=None):
         """ Copy the current version of the page (keeping the backups, logs and attachments).