web/views/editforms.py
branchtls-sprint
changeset 1766 6c23a5e0c490
parent 1763 65ec5ccc8927
child 1767 f0ba5a07e271
--- 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}