Commit 40eb6a23 authored by Jérome Perrin's avatar Jérome Perrin

In ListBoxZuite_reset, also empty selection parameters, and add bar_selection...

In ListBoxZuite_reset, also empty selection parameters, and add bar_selection to the list of reseted selections

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17710 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 71f67da6
......@@ -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>
......@@ -116,9 +113,12 @@ def resetSelection(selection_name):\n
selection_tool.setSelectionColumns(selection_name, [])\n
selection_tool.setSelectionStats(selection_name, [])\n
selection_tool.setListboxDisplayMode(context.REQUEST, \'FlatListMode\', selection_name)\n
selection_tool.setSelectionParamsFor(selection_name, dict())\n
\n
resetSelection(\'foo_selection\')\n
resetSelection(\'foo_line_selection\')\n
resetSelection(\'bar_selection\')\n
\n
\n
pref = context.portal_preferences.newContent()\n
pref.setPreferredListboxListModeLineCount(10)\n
......
274
\ No newline at end of file
275
\ 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