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 @@ ...@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE="> <record id="1" aka="AAAAAAAAAAE=">
<pickle> <pickle>
<tuple> <tuple>
<tuple> <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
<string>Products.PythonScripts.PythonScript</string> <tuple/>
<string>PythonScript</string>
</tuple>
<none/>
</tuple> </tuple>
</pickle> </pickle>
<pickle> <pickle>
...@@ -116,9 +113,12 @@ def resetSelection(selection_name):\n ...@@ -116,9 +113,12 @@ def resetSelection(selection_name):\n
selection_tool.setSelectionColumns(selection_name, [])\n selection_tool.setSelectionColumns(selection_name, [])\n
selection_tool.setSelectionStats(selection_name, [])\n selection_tool.setSelectionStats(selection_name, [])\n
selection_tool.setListboxDisplayMode(context.REQUEST, \'FlatListMode\', selection_name)\n selection_tool.setListboxDisplayMode(context.REQUEST, \'FlatListMode\', selection_name)\n
selection_tool.setSelectionParamsFor(selection_name, dict())\n
\n \n
resetSelection(\'foo_selection\')\n resetSelection(\'foo_selection\')\n
resetSelection(\'foo_line_selection\')\n resetSelection(\'foo_line_selection\')\n
resetSelection(\'bar_selection\')\n
\n
\n \n
pref = context.portal_preferences.newContent()\n pref = context.portal_preferences.newContent()\n
pref.setPreferredListboxListModeLineCount(10)\n pref.setPreferredListboxListModeLineCount(10)\n
......
274 275
\ 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