diff MoinMoin/wikimacro.py @ 615:fb4240ec8361

make goto an action (1 special case less)
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Fri, 05 May 2006 10:40:13 +0200
parents b918cb0263bf
children
line wrap: on
line diff
--- a/MoinMoin/wikimacro.py	Fri May 05 09:39:41 2006 +0200
+++ b/MoinMoin/wikimacro.py	Fri May 05 10:40:13 2006 +0200
@@ -205,7 +205,8 @@
         html = [
             u'<form method="get" action="">',
             u'<div>',
-            u'<input type="text" name="goto" size="30">',
+            u'<input type="hidden" name="action" value="goto">',
+            u'<input type="text" name="target" size="30">',
             u'<input type="submit" value="%s">' % _("Go To Page"),
             u'</div>',
             u'</form>',