# HG changeset patch # User sylvain.thenault@logilab.fr # Date 1239189563 -7200 # Node ID 174ebf2a145961ca45206c6652d78a68b5c59b17 # Parent 05579925d66e1cae1e1cf9daa685bd47a3aecc59 should give None as rset diff -r 05579925d66e -r 174ebf2a1459 web/views/editforms.py --- a/web/views/editforms.py Wed Apr 08 13:19:09 2009 +0200 +++ b/web/views/editforms.py Wed Apr 08 13:19:23 2009 +0200 @@ -612,7 +612,7 @@ rschema = self.schema.rschema(rtype) divid = '%s-%s-%s' % (peid, rtype, entity.eid) title = rschema.display_name(self.req, role) - form = self.vreg.select_object('forms', 'edition', self.req, + form = self.vreg.select_object('forms', 'edition', self.req, None, entity=entity) removejs = self.removejs % (peid, rtype,entity.eid) if self.keep_entity(entity, peid, rtype):