diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml index 62508241f98e3abe7347669a895f83a7c4e2ee35..9f129a4c09f30766be092460eb3c801dc8eeff4a 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml @@ -74,10 +74,9 @@ current_page_max python: listbox_max_lines * current_page;\n current_page_start python: (listbox_max_lines * (current_page - 1)) + 1;\n current_page_stop python: (total_line < current_page_max) and total_line or current_page_max;\n - listbox_id request/current_form_id | form_id ;\n - listbox_url string:${context_url}/${listbox_id};\n + form_url string:${context_url}/${form_id};\n need_pagination python: total_line > listbox_max_lines;">\n -\n + \n <!-- Define hidden input. -->\n <input type="hidden" name="list_selection_name" value="default" tal:attributes="value selection_name" />\n <input type="hidden" name="list_selection_name" value="default"\n @@ -465,7 +464,7 @@ <span i18n:translate="" i18n:domain="ui">Display:</span>\n <ul>\n <li tal:repeat="style display_style_list">\n - <a tal:attributes="href python: \'%s?list_style=%s\' % (listbox_url, style[0]);\n + <a tal:attributes="href python: \'%s?list_style=%s\' % (form_url, style[0]);\n class python: test(style[0]==list_style, \'selected\',\'\');"\n tal:content="python: style[1]"\n i18n:translate="" i18n:domain="ui"/>\n diff --git a/bt5/erp5_km/bt/revision b/bt5/erp5_km/bt/revision index 2c87a4b00c1b121bb7d853c7d6db169a99cce76a..894a5ad682a65628654e933c384eaebbebb73cbb 100644 --- a/bt5/erp5_km/bt/revision +++ b/bt5/erp5_km/bt/revision @@ -1 +1 @@ -1508 \ No newline at end of file +1510 \ No newline at end of file