Commit 44ef10ce authored by Jérome Perrin's avatar Jérome Perrin

fix NameError `form` in Base_configureSortOn

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18151 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 09d6651c
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.PythonScripts.PythonScript</string>
<string>PythonScript</string>
</tuple>
<none/>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -76,6 +73,7 @@ from Products.Formulator.Errors import ValidationError, FormValidationError\n
\n
request = context.REQUEST\n
field_sort_type = request.form.get(\'field_sort_type\', None)\n
form = context.Folder_viewSortOnDialog\n
\n
try:\n
# No validation for now\n
......@@ -156,15 +154,16 @@ request[ \'RESPONSE\' ].redirect( redirect_url )\n
<string>request</string>
<string>None</string>
<string>field_sort_type</string>
<string>form</string>
<string>sort_on</string>
<string>i</string>
<string>_getiter_</string>
<string>k</string>
<string>_getitem_</string>
<string>v</string>
<string>_inplacevar_</string>
<string>t</string>
<string>validation_errors</string>
<string>form</string>
<string>field_errors</string>
<string>redirect_url</string>
</tuple>
......
637
\ No newline at end of file
638
\ 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