Commit f5592963 authored by Fabien Morin's avatar Fabien Morin

remove form_id parameter because it was not needed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23578 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3521d8b9
......@@ -9,22 +9,10 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Python_magic</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
......@@ -74,8 +62,8 @@ if not context.isCaptchaTextCorrect(captcha_text):\n
message = "text entered at the right of the picture is wrong"\n
translated_message = context.Base_translateString(message)\n
return request[\'RESPONSE\'].redirect(\n
"%s/%s?portal_status_message=%s" %\n
(context.absolute_url(), form_id, translated_message))\n
"%s?portal_status_message=%s" %\n
(context.absolute_url(), translated_message))\n
\n
# create a new subscription form\n
module = context.getDefaultModule(portal_type=\'Subscription Form\')\n
......@@ -120,21 +108,9 @@ return result\n
<none/>
</value>
</item>
<item>
<key> <string>_filepath</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_owner</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>form_id, captcha_text=\'\', **kw</string> </value>
<value> <string>captcha_text=\'\', **kw</string> </value>
</item>
<item>
<key> <string>_proxy_roles</string> </key>
......@@ -162,13 +138,12 @@ return result\n
<dictionary>
<item>
<key> <string>co_argcount</string> </key>
<value> <int>2</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>co_varnames</string> </key>
<value>
<tuple>
<string>form_id</string>
<string>captcha_text</string>
<string>kw</string>
<string>_getattr_</string>
......@@ -205,12 +180,6 @@ return result\n
<key> <string>id</string> </key>
<value> <string>EGov_register</string> </value>
</item>
<item>
<key> <string>uid</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>warnings</string> </key>
<value>
......
289
\ No newline at end of file
291
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment