branch | stable |
changeset 5546 | 1bdaa9e1cd57 |
parent 5426 | 0d4853a6e5ee |
child 5555 | a64f48dd5fe4 |
child 5584 | c1823448f81d |
--- a/web/views/basecontrollers.py Tue May 18 16:49:41 2010 +0200 +++ b/web/views/basecontrollers.py Thu May 20 10:04:45 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: