changeset 4073 | 03681ba6da0b |
parent 4053 | 7cc66b1d9183 |
child 4110 | 8728d8c95985 |
--- a/web/views/editcontroller.py Wed Dec 09 12:20:05 2009 +0100 +++ b/web/views/editcontroller.py Wed Dec 09 12:23:31 2009 +0100 @@ -166,7 +166,7 @@ toinsert = self._cw.list_form_param('__insert', formparams, pop=True) self.insert_relations(parse_relations_descr(toinsert)) if is_main_entity: # only execute linkto for the main entity - self.execute_linkto(eid) + self.execute_linkto(entity.eid) return eid def handle_formfield(self, form, field, entity, rqlquery):