must record creation rank as an instance attribute tls-sprint
authorsylvain.thenault@logilab.fr
Wed, 11 Mar 2009 19:53:23 +0100
branchtls-sprint
changeset 1071 abe11abb37a0
parent 1070 3bc7d4ebb543
child 1072 e36f2889e1bd
must record creation rank as an instance attribute
web/form.py
--- a/web/form.py	Wed Mar 11 19:52:52 2009 +0100
+++ b/web/form.py	Wed Mar 11 19:53:23 2009 +0100
@@ -493,6 +493,7 @@
         self.eidparam = eidparam
         self.role = 'subject'
         # global fields ordering in forms
+        self.creation_rank = Field.creation_rank
         Field.creation_rank += 1
 
     def set_name(self, name):