--- a/web/form.py Fri Feb 20 15:55:59 2009 +0100
+++ b/web/form.py Fri Feb 20 15:57:29 2009 +0100
@@ -529,7 +529,8 @@
class HiddenInitialValueField(Field):
def __init__(self, visible_field, name):
super(HiddenInitialValueField, self).__init__(name=name,
- widget=HiddenInput)
+ widget=HiddenInput,
+ eidparam=True)
self.visible_field = visible_field
@@ -678,7 +679,7 @@
name = 'edits-%s' % field.name
else:
name = 'edito-%s' % field.name
- return HiddenInitialValueField(field, name=name, eidparam=True)
+ return HiddenInitialValueField(field, name=name)
def form_field_value(self, field, values):
"""look for field's value with the following rules: