web/views/editcontroller.py
changeset 5676 aa04ccb8dd62
parent 5575 8a531340c3ef
child 5877 0c7b7b76a84f
--- a/web/views/editcontroller.py	Mon May 31 19:33:43 2010 +0200
+++ b/web/views/editcontroller.py	Mon Jun 07 12:39:15 2010 +0200
@@ -204,9 +204,8 @@
                 field = form.field_by_name(name, role, eschema=entity.e_schema)
             else:
                 field = form.field_by_name(name, role)
-            for field in field.actual_fields(form):
-                if field.has_been_modified(form):
-                    self.handle_formfield(form, field, rqlquery)
+            if field.has_been_modified(form):
+                self.handle_formfield(form, field, rqlquery)
         if self.errors:
             errors = dict((f.role_name(), unicode(ex)) for f, ex in self.errors)
             raise ValidationError(valerror_eid(entity.eid), errors)