diff MoinMoin/action/DeletePage.py @ 5205:bc5d4e7072ea

action CopyPage, RenamePage, DeletePage: subpages_checked needs request.args.getfor reading this url param
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 10 Oct 2009 15:42:17 +0200
parents 162002d5b148
children
line wrap: on
line diff
--- a/MoinMoin/action/DeletePage.py	Sat Oct 10 15:17:33 2009 +0200
+++ b/MoinMoin/action/DeletePage.py	Sat Oct 10 15:42:17 2009 +0200
@@ -74,7 +74,7 @@
 
             d = {
                 'subpage': subpages,
-                'subpages_checked': ('', 'checked')[self.request.form.get('subpages_checked', '0') == '1'],
+                'subpages_checked': ('', 'checked')[self.request.args.get('subpages_checked', '0') == '1'],
                 'subpage_label': _('Delete all /subpages too?'),
                 'comment_label': _("Optional reason for the deletion"),
                 'buttons_html': buttons_html,