web/views/editforms.py
branchstable
changeset 3748 7143198dd8a4
parent 3745 006c81b94ec5
child 3756 725a2b005479
--- a/web/views/editforms.py	Tue Oct 20 13:54:40 2009 +0200
+++ b/web/views/editforms.py	Tue Oct 20 14:24:19 2009 +0200
@@ -222,7 +222,7 @@
 
     def _build_args(self, entity, rtype, role, formid, default, reload, lzone,
                     extradata=None):
-        divid = '%s-%s-%s' % (entity.eid, rtype, role)
+        divid = '%s-%s-%s' % (rtype, role, entity.eid)
         event_args = {'divid' : divid, 'eid' : entity.eid, 'rtype' : rtype,
                       'reload' : dumps(reload), 'default' : default, 'role' : role, 'vid' : u'',
                       'lzone' : lzone}