[reledit] remove buggy check, postpone functionnality to 344615 stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 15 Jul 2009 15:44:50 +0200
branchstable
changeset 2376 04ee75e2c63d
parent 2375 628000fcf7dc
child 2377 fc1fea0e87c5
[reledit] remove buggy check, postpone functionnality to 344615
web/views/editforms.py
--- 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)