Commit bbce6c36 authored by Ivan Tyagov's avatar Ivan Tyagov

Try to get list_mode from selection as well. This help listbox page navigation in search mode.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28641 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7700bba6
......@@ -61,7 +61,8 @@
show_anchor_column here/showAnchorColumn;\n
show_search_line here/showSearchLine;\n
is_web_mode request/is_web_mode | nothing;\n
list_style python:request.get(\'list_style\', is_web_mode and \'table\' or None);\n
list_style python:request.get(\'list_style\', \n
selection.getParams().get(\'list_style\', is_web_mode and \'table\' or None));\n
is_gadget_mode request/is_gadget_mode | nothing;\n
">\n
<!-- ListBox starts here. -->\n
......
826
\ No newline at end of file
827
\ 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