Commit c29346e8 authored by Ivan Tyagov's avatar Ivan Tyagov

Be consistent and send as hidden field not only form_id but as well field_id.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@38383 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e7b3d88f
......@@ -101,6 +101,11 @@
name="form_id" \n
tal:attributes="value form_id" \n
tal:replace="nothing"/>\n
<input tal:condition="field_id" \n
type="hidden" \n
name="field_id" \n
tal:attributes="value field_id" \n
tal:replace="nothing"/>\n
\n
<tal:block tal:condition="is_gadget_mode">\n
<tal:block tal:define="global box_relative_url python: request.get(\'box_relative_url\', \'\');\n
......
......@@ -102,7 +102,6 @@
metal:define-macro="listbox_global_search"\n
tal:define="search_text python: request.get(global_search_column, \n
selection.params.get(global_search_column));">\n
\n
<tal:block tal:condition="not: is_gadget_mode">\n
<!-- Normal mode -->\n
<input type="text"\n
......
1019
\ No newline at end of file
1021
\ 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