must specify col where entity's eid is tls-sprint
authorsylvain.thenault@logilab.fr
Wed, 15 Apr 2009 17:25:09 +0200
branchtls-sprint
changeset 1369 49497136e977
parent 1368 c0138f349ff4
child 1370 c1cf86a66e30
must specify col where entity's eid is
web/form.py
--- a/web/form.py	Wed Apr 15 17:24:48 2009 +0200
+++ b/web/form.py	Wed Apr 15 17:25:09 2009 +0200
@@ -388,7 +388,7 @@
         msg = kwargs.pop('submitmsg', None)
         super(EntityFieldsForm, self).__init__(*args, **kwargs)
         if self.edited_entity is None:
-            self.edited_entity = self.complete_entity(self.row)
+            self.edited_entity = self.complete_entity(self.row, self.col)
         self.form_add_hidden('__type', eidparam=True)
         self.form_add_hidden('eid')
         if msg is not None: