Commit b51f59c8 authored by Ivan Tyagov's avatar Ivan Tyagov

Make it possible that all of top global search input, top listbox search...

Make it possible that all of top global search input,  top listbox search input & bottom listbox search input work together within same ERP5 one form layout.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36715 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 73975421
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>enabled</string> </key>
<value> <int>0</int> </value>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>external_validator</string> </key>
......
......@@ -291,7 +291,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: "onkeypress=\\"submitFormOnEnter(event, \'main_form\', \'ERP5Site_viewQuickSearchResultList\');\\" onfocus=\\"if (this.value==\'%s\') this.value=\'\';\\"" % context.Base_translateString(\'Search\')</string> </value>
<value> <string>python: "onkeypress=\\"submitFormOnEnter(event, \'main_form\', \'ERP5Site_viewQuickSearchResultList\', false, this);\\" onfocus=\\"if (this.value==\'%s\') this.value=\'\';\\"" % context.Base_translateString(\'Search\')</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -56,9 +56,9 @@
\n
<input type="text"\n
name="field_your_search_text"\n
onkeypress="submitFormOnEnter(event, \'main_form\', \'ERP5Site_viewQuickSearchResultList\')"\n
onkeypress="submitFormOnEnter(event, \'main_form\', \'ERP5Site_viewQuickSearchResultList\', false, this)"\n
tal:attributes="value python: search_text"/>\n
\n
\n
<input type="submit" \n
value="Search" \n
name="ERP5Site_viewQuickSearchResultList:method" \n
......
1473
\ No newline at end of file
1474
\ 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