[Erp5-report] r31537 fabien - in /erp5/trunk/bt5/tiolive_base: SkinTemplateItem/portal_skin...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Dec 30 16:14:02 CET 2009
Author: fabien
Date: Wed Dec 30 16:14:01 2009
New Revision: 31537
URL: http://svn.erp5.org?rev=31537&view=rev
Log:
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
Modified:
erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/navigation_box_render.xml
erp5/trunk/bt5/tiolive_base/bt/revision
erp5/trunk/bt5/tiolive_base/bt/version
Modified: erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/navigation_box_render.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/navigation_box_render.xml?rev=31537&r1=31536&r2=31537&view=diff
==============================================================================
--- erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/navigation_box_render.xml [utf8] (original)
+++ erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/navigation_box_render.xml [utf8] Wed Dec 30 16:14:01 2009
@@ -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
Modified: erp5/trunk/bt5/tiolive_base/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/bt/revision?rev=31537&r1=31536&r2=31537&view=diff
==============================================================================
--- erp5/trunk/bt5/tiolive_base/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/tiolive_base/bt/revision [utf8] Wed Dec 30 16:14:01 2009
@@ -1,1 +1,1 @@
-48
+51
Modified: erp5/trunk/bt5/tiolive_base/bt/version
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/bt/version?rev=31537&r1=31536&r2=31537&view=diff
==============================================================================
--- erp5/trunk/bt5/tiolive_base/bt/version [utf8] (original)
+++ erp5/trunk/bt5/tiolive_base/bt/version [utf8] Wed Dec 30 16:14:01 2009
@@ -1,1 +1,1 @@
-5.4.3
+5.4.5
More information about the Erp5-report
mailing list