Commit d74f3ab1 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

the default value of ignore_layout should be 1 for non-web mode.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27699 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3b9304a2
......@@ -2131,7 +2131,8 @@ class ListBoxHTMLRendererLine(ListBoxRendererLine):
url_column_dict = dict(renderer.getUrlColumnList())
selection = renderer.getSelection()
selection_name = renderer.getSelectionName()
ignore_layout = int(request.get('ignore_layout', 0))
ignore_layout = int(request.get('ignore_layout', \
not request.get('is_web_mode', False) and 1 or 0))
ui_domain = 'erp5_ui'
html_list = []
......
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