web/views/basecontrollers.py
changeset 5555 a64f48dd5fe4
parent 5467 57372dbfd114
parent 5546 1bdaa9e1cd57
child 5556 9ab2b4c74baf
--- a/web/views/basecontrollers.py	Tue May 18 18:18:08 2010 +0200
+++ b/web/views/basecontrollers.py	Thu May 20 20:47:13 2010 +0200
@@ -314,6 +314,9 @@
         for name, value in zip(names, values):
             # remove possible __action_xxx inputs
             if name.startswith('__action'):
+                if action is None:
+                    # strip '__action_' to get the actual action name
+                    action = name[9:]
                 continue
             # form.setdefault(name, []).append(value)
             if name in form: