web/views/basecontrollers.py
changeset 2458 4d114865098f
parent 2381 caad2367d940
parent 2382 c1dcb5aef4b4
child 2476 1294a6bdf3bf
--- a/web/views/basecontrollers.py	Thu Jul 23 15:29:07 2009 +0200
+++ b/web/views/basecontrollers.py	Thu Jul 23 15:33:03 2009 +0200
@@ -400,10 +400,11 @@
             return (success, args, None)
 
     @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):