web/views/basecontrollers.py
changeset 7076 0eed6045d785
parent 6926 2cda8f1b4fae
child 7374 3c9850d929e5
--- a/web/views/basecontrollers.py	Thu Mar 10 12:04:46 2011 +0100
+++ b/web/views/basecontrollers.py	Wed Jan 19 19:19:57 2011 +0100
@@ -455,13 +455,13 @@
     def js_reledit_form(self):
         req = self._cw
         args = dict((x, req.form[x])
-                    for x in ('formid', 'rtype', 'role', 'reload'))
+                    for x in ('formid', 'rtype', 'role', 'reload', 'action'))
         rset = req.eid_rset(typed_eid(self._cw.form['eid']))
         try:
             args['reload'] = json.loads(args['reload'])
         except ValueError: # not true/false, an absolute url
             assert args['reload'].startswith('http')
-        view = req.vreg['views'].select('doreledit', req, rset=rset, rtype=args['rtype'])
+        view = req.vreg['views'].select('reledit', req, rset=rset, rtype=args['rtype'])
         return self._call_view(view, **args)
 
     @jsonize