diff MoinMoin/action/edit.py @ 4424:5ad5753ae311

pre-1.9: request.form has qs args and post data, 1.9: .form only post data, .args only qs args, .values both
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 16 Nov 2008 22:20:21 +0100
parents 40acd13fb3d6
children 6f6736e7683c
line wrap: on
line diff
--- a/MoinMoin/action/edit.py	Sun Nov 16 16:50:56 2008 +0100
+++ b/MoinMoin/action/edit.py	Sun Nov 16 22:20:21 2008 +0100
@@ -33,7 +33,7 @@
     if editor not in valideditors:
         editor = request.cfg.editor_default
 
-    editorparam = request.form.get('editor', editor)
+    editorparam = request.values.get('editor', editor)
     if editorparam == "guipossible":
         lasteditor = editor
     elif editorparam == "textonly":