that slipped in by accident tls-sprint
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Mon, 11 May 2009 19:46:01 +0200
branchtls-sprint
changeset 1736 40190717e2de
parent 1735 07afba765926
child 1737 53af44f1b649
that slipped in by accident
web/views/basecontrollers.py
--- a/web/views/basecontrollers.py	Mon May 11 19:44:52 2009 +0200
+++ b/web/views/basecontrollers.py	Mon May 11 19:46:01 2009 +0200
@@ -404,18 +404,6 @@
             return (success, args, None)
 
     @jsonize
-    def js_edit_relation(self, action, names, values,
-                         rtype, eid, role='subject', vid='list'):
-        # XXX validate_form
-        success, args = self.validate_form(action, names, values)
-        if success:
-            entity = self.req.eid_rset(eid).get_entity(0, 0)
-            rset = entity.related('person_in_charge', role)
-            return (success, args, self.view(vid, rset))
-        else:
-            return (success, args, None)
-
-    @jsonize
     def js_i18n(self, msgids):
         """returns the translation of `msgid`"""
         return [self.req._(msgid) for msgid in msgids]