web/views/editforms.py
branchstable
changeset 3793 ab776b2833cb
parent 3767 03924de0014d
child 3800 2d951200f898
--- 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)