web/form.py
branchtls-sprint
changeset 1326 1d389a6b99b1
parent 1318 50e1a778c5ee
child 1338 9e038f84dbb3
--- 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