web/views/editforms.py
branchstable
changeset 2376 04ee75e2c63d
parent 2373 50e01ff07f06
child 2380 5d980ba57632
--- a/web/views/editforms.py	Wed Jul 15 14:06:45 2009 +0200
+++ b/web/views/editforms.py	Wed Jul 15 15:44:50 2009 +0200
@@ -137,11 +137,6 @@
             self._attribute_form(entity, value, rtype, role, reload,
                                  row, col, default, landing_zone)
         else:
-            vid = uicfg.primaryview_display_ctrl.etype_get(entity.e_schema,
-                                                           rtype, role)
-            if vid != 'reledit': # reledit explicitly disabled
-                self.wview(vid, entity.related(rtype, role))
-                return
             if rvid is None:
                 rvid = self._compute_best_vid(entity, rtype, role)
             rset = entity.related(rtype, role)