do not display anything when bein asked something (fix #504759) stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 03 Nov 2009 13:54:07 +0100
branchstable
changeset 3793 ab776b2833cb
parent 3792 8d0b5de8002b
child 3794 c741061d5348
do not display anything when bein asked something (fix #504759)
web/views/editforms.py
--- a/web/views/editforms.py	Tue Nov 03 13:52:25 2009 +0100
+++ b/web/views/editforms.py	Tue Nov 03 13:54:07 2009 +0100
@@ -277,10 +277,8 @@
         dispctrl = uicfg.primaryview_display_ctrl.etype_get(eschema, rtype, role)
         vid = dispctrl.get('vid', 'reledit')
         if vid != 'reledit': # reledit explicitly disabled
-            self.wview(vid, entity.related(rtype, role), 'null')
             return False
         if eschema.role_rproperty(role, rschema, 'composite') == role:
-            self.wview(rvid, entity.related(rtype, role), 'null')
             return False
         return super(AutoClickAndEditFormView, self).should_edit_relation(
             entity, rschema, role, rvid)