Commit d88148b9 authored by Fabien Morin's avatar Fabien Morin

cast to int like it is in Base_edit. This avoid ErrorValue : "An integer was...

cast to int like it is in Base_edit. This avoid ErrorValue : "An integer was expected in the value 'True'" on the form validation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33020 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d13790a0
...@@ -125,7 +125,8 @@ def updateTranslation():\n ...@@ -125,7 +125,8 @@ def updateTranslation():\n
context.edit()#invoke interaction workflows etc.\n context.edit()#invoke interaction workflows etc.\n
updateTranslation()\n updateTranslation()\n
\n \n
\n ignore_layout = int(ignore_layout)\n
editable_mode = int(editable_mode)\n
redirect_url = \'%s/%s?ignore_layout:int=%s&editable_mode:int=%s&portal_status_message=%s\' % (\n redirect_url = \'%s/%s?ignore_layout:int=%s&editable_mode:int=%s&portal_status_message=%s\' % (\n
context.absolute_url(),\n context.absolute_url(),\n
form_id,\n form_id,\n
...@@ -212,6 +213,7 @@ return result\n ...@@ -212,6 +213,7 @@ return result\n
<string>value</string> <string>value</string>
<string>callable</string> <string>callable</string>
<string>updateTranslation</string> <string>updateTranslation</string>
<string>int</string>
<string>result</string> <string>result</string>
</tuple> </tuple>
</value> </value>
......
12 13
\ No newline at end of file \ 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