web/views/cwproperties.py
changeset 4159 6b2b20c73d59
parent 4156 1bbb0ee42c8e
child 4164 119a374c5eb4
--- a/web/views/cwproperties.py	Mon Dec 21 19:25:07 2009 +0100
+++ b/web/views/cwproperties.py	Mon Dec 21 19:45:24 2009 +0100
@@ -335,7 +335,7 @@
             self.widget = NotEditableWidget(entity.printable_value('value'), msg)
         # XXX race condition when used from CWPropertyForm, should not rely on
         # instance attributes
-        self.initial = pdef['default']
+        self.value = pdef['default']
         self.help = pdef['help']
         vocab = pdef['vocabulary']
         if vocab is not None: