meeep tls-sprint
authorsylvain.thenault@logilab.fr
Tue, 12 May 2009 20:52:36 +0200
branchtls-sprint
changeset 1766 6c23a5e0c490
parent 1765 a25c7c73c8f6
child 1767 f0ba5a07e271
meeep
web/views/editforms.py
--- a/web/views/editforms.py	Tue May 12 20:47:42 2009 +0200
+++ b/web/views/editforms.py	Tue May 12 20:52:36 2009 +0200
@@ -121,7 +121,6 @@
         self.w(form.form_render(renderer=renderer))
 
     def _build_relation_form(self, entity, value, rtype, role, row, col, vid):
-        rtype = 'person_in_charge'
         entity = self.entity(row, col)
         divid = 'd%s' % make_uid('%s-%s' % (rtype, entity.eid))
         event_data = {'divid' : divid, 'eid' : entity.eid, 'rtype' : rtype, 'vid' : vid}