[tabs] dead code
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Fri, 30 Jan 2009 18:15:03 +0100
changeset 547 e6fed6e5f523
parent 546 9cafff0e0620
child 548 195a0065aaae
[tabs] dead code
web/views/tabs.py
--- a/web/views/tabs.py	Fri Jan 30 17:25:32 2009 +0100
+++ b/web/views/tabs.py	Fri Jan 30 18:15:03 2009 +0100
@@ -121,14 +121,6 @@
     cookie[cookiename] = tabname
     self.req.set_cookie(cookie, cookiename)
 
-@monkeypatch(JSonController)
-def js_lazily(self, vid_eid):
-    vid, eid = vid_eid.split('-')
-    rset = eid and self.req.eid_rset(eid) or None
-    view = self.vreg.select_view(vid, self.req, rset)
-    return self._set_content_type(view, view.dispatch())
-
-
 class EntityRelatedTab(EntityView):
     """A view you should inherit from leftmost,
     to wrap another actual view displaying entity related stuff.