should not name that parameter tls-sprint
authorsylvain.thenault@logilab.fr
Thu, 09 Apr 2009 16:42:37 +0200
branchtls-sprint
changeset 1326 1d389a6b99b1
parent 1325 cf79af56fed0
child 1327 ed2dac034fee
should not name that parameter
web/form.py
--- a/web/form.py	Thu Apr 09 16:25:29 2009 +0200
+++ b/web/form.py	Thu Apr 09 16:42:37 2009 +0200
@@ -262,7 +262,7 @@
             for param in NAV_FORM_PARAMETERS:
                 value = kwargs.get(param, req.form.get(param))
                 if value:
-                    self.form_add_hidden(param, initial=value)
+                    self.form_add_hidden(param, value)
         if submitmsg is not None:
             self.form_add_hidden('__message', submitmsg)
         self.context = None