# HG changeset patch # User Aurelien Campeas # Date 1242063961 -7200 # Node ID 40190717e2de2d1a7613bec727c4ce05d41173af # Parent 07afba765926f0db8aa49a3204c904afb1d0e31f that slipped in by accident diff -r 07afba765926 -r 40190717e2de 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]