--- a/web/views/basecontrollers.py Thu Jul 16 08:08:11 2009 +0200
+++ b/web/views/basecontrollers.py Thu Jul 16 13:53:33 2009 +0200
@@ -402,18 +402,11 @@
return (success, args, None)
@jsonize
- def js_edit_relation(self, action, names, values, rtype,
- role, eid, vid, default, lzone):
- if rtype == 'license_of':
- print action, names, values, rtype, role, eid, vid, default
- success, url = self.validate_form(action, names, values)
- return (success, url)
-
- @jsonize
- def js_reledit_form(self, eid, rtype, role, lzone):
+ def js_reledit_form(self, eid, rtype, role, default, lzone):
+ """XXX we should get rid of this and use loadxhtml"""
entity = self.req.eid_rset(eid).get_entity(0, 0)
return entity.view('reledit', rtype=rtype, role=role,
- landing_zone=lzone)
+ default=default, landing_zone=lzone)
@jsonize
def js_i18n(self, msgids):