# HG changeset patch # User Aurelien Campeas # Date 1256041459 -7200 # Node ID 7143198dd8a4702a2bbdf19940cf1c088aaa762d # Parent 9165bd634f90001078a1401cbfdc1b103b7ae421 node ids shall not begin with a number diff -r 9165bd634f90 -r 7143198dd8a4 web/views/editforms.py --- 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}