Commit b5c051e8 authored by Fabien Morin's avatar Fabien Morin

Keep text entered by the user.

change a bit the behaviour to keep text entered by the user (if the focus is lost and gain, the text entered by the user is kept, this permit to complete a search after changing the focus).

Put back the version number commited in r31536 by mistake.

reviewed and approved by jm

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31537 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 54d48976
......@@ -123,10 +123,12 @@
i18n:translate="" i18n:domain="ui">Logout</a>\n
<img tal:attributes="src string:${context_url}/tiolive_base_image/icon-login.png" id=\'user-img\' alt=\'user\' />\n
<tal:block tal:replace="user_name">jp</tal:block></p> \n
<fieldset id="fieldset-tiosearch">\n
<fieldset id="fieldset-tiosearch"\n
tal:define="search_default_text python:here.Base_translateString(\'Search\')">\n
<input type="hidden" name="all_languages" value="1" />\n
<input accesskey="4" type="text" size="40" name="field_your_search_text" class="input-text" \n
value="Search" i18n:attributes="value" i18n:domain="ui"\n
value="Search" tal:attributes="value string:${search_default_text};\n
onfocus string:if (this.value==\'${search_default_text}\') this.value=\'\';"\n
onfocus="this.value=\'\';"\n
onkeypress="submitFormOnEnter(event, this.form, \'ERP5Site_viewQuickSearchResultList\');" />\n
<input type="submit" class="input-submit" value="" alt="Search"\n
......
48
\ No newline at end of file
51
\ No newline at end of file
5.4.3
\ No newline at end of file
5.4.5
\ 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