diff MoinMoin/action/CopyPage.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 d887cc013e76
children c3b6639e101a
line wrap: on
line diff
--- a/MoinMoin/action/CopyPage.py	Sat Oct 10 15:17:33 2009 +0200
+++ b/MoinMoin/action/CopyPage.py	Sat Oct 10 15:42:17 2009 +0200
@@ -91,7 +91,7 @@
             d = {
                 'textcha': TextCha(self.request).render(),
                 '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': _('Copy all /subpages too?'),
                 'pagename': wikiutil.escape(self.pagename, True),
                 'newname_label': _("New name"),