[form] fix untested (unread?) has_been_modified implementation...
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 09 Jun 2010 12:32:54 +0200
changeset 5697 ec1ce7198ef4
parent 5696 98d390c28edb
child 5698 5c8fa1650299
[form] fix untested (unread?) has_been_modified implementation...
web/formfields.py
--- a/web/formfields.py	Wed Jun 09 10:06:46 2010 +0200
+++ b/web/formfields.py	Wed Jun 09 12:32:54 2010 +0200
@@ -418,8 +418,8 @@
         pass
 
     def has_been_modified(self, form):
-        for field in field.actual_fields(form):
-            if field._has_been_modified():
+        for field in self.actual_fields(form):
+            if field._has_been_modified(form):
                 return True # XXX
         return False # not modified