changeset 2680 | 66472d85d548 |
parent 2650 | 18aec79ec3a3 |
child 2681 | eda37d59f6d4 |
--- a/web/views/basecontrollers.py Tue Aug 04 17:02:18 2009 +0200 +++ b/web/views/basecontrollers.py Tue Aug 04 17:11:50 2009 +0200 @@ -398,7 +398,7 @@ @jsonize def js_reledit_form(self, eid, rtype, role, default, lzone): """XXX we should get rid of this and use loadxhtml""" - entity = self.req.eid_rset(eid).get_entity(0, 0) + entity = self.req.entity_from_eid(eid) return entity.view('reledit', rtype=rtype, role=role, default=default, landing_zone=lzone)