[Erp5-report] r26675 - in /erp5/trunk: bt5/tiolive_base/SkinTemplateItem/portal_skins/tioli...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Apr 28 14:13:10 CEST 2009
Author: kazuhiko
Date: Tue Apr 28 14:13:07 2009
New Revision: 26675
URL: http://svn.erp5.org?rev=26675&view=rev
Log:
at least with Firefox 3, onkeypress seems to send form too early if we choose something from field's history and then hit enter key.
Modified:
erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/navigation_box_render.xml
erp5/trunk/bt5/tiolive_base/bt/revision
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asStandardHTML.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
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=26675&r1=26674&r2=26675&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] Tue Apr 28 14:13:07 2009
@@ -126,7 +126,7 @@
<fieldset id="fieldset-tiosearch">\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
- onkeypress="submitFormOnEnter(event, this.form, \'ERP5Site_viewQuickSearchResultList\');" />\n
+ onkeyup="submitFormOnEnter(event, this.form, \'ERP5Site_viewQuickSearchResultList\');" />\n
<input type="submit" class="input-submit" value="" alt="Search"\n
name="ERP5Site_viewQuickSearchResultList:method"/> \n
</fieldset>\n
Modified: erp5/trunk/bt5/tiolive_base/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/bt/revision?rev=26675&r1=26674&r2=26675&view=diff
==============================================================================
--- erp5/trunk/bt5/tiolive_base/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/tiolive_base/bt/revision [utf8] Tue Apr 28 14:13:07 2009
@@ -1,1 +1,1 @@
-35
+36
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml?rev=26675&r1=26674&r2=26675&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_access_tab/ERP5Site_renderQuickSearchDialog.xml [utf8] Tue Apr 28 14:13:07 2009
@@ -44,7 +44,7 @@
tal:define="dummy python: request.RESPONSE.setHeader(\'Content-Type\', \n
\'text/html;; charset=utf-8\');">\n
<div>\n
- <input type="text" onkeypress="submitFormOnEnter(event, this.form, \'ERP5Site_processAdvancedSearch\');" class="input-text" name="top_your_search_text" size="40" accesskey="4"/>\n
+ <input type="text" onkeyup="submitFormOnEnter(event, this.form, \'ERP5Site_processAdvancedSearch\');" class="input-text" name="top_your_search_text" size="40" accesskey="4"/>\n
<select size="1" class="input" name="top_your_search_portal_type">\n
<option value="" selected="selected" i18n:translate="" i18n:domain="ui">Everything</option>\n
<option value="all" i18n:translate="" i18n:domain="ui">All Documents</option>\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml?rev=26675&r1=26674&r2=26675&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml [utf8] Tue Apr 28 14:13:07 2009
@@ -82,7 +82,7 @@
value="" \n
tal:condition="python:here.getParamDict().has_key(\'your_search_text\')"\n
type="text"\n
- onkeypress="submitFormOnEnter(event, \n
+ onkeyup="submitFormOnEnter(event, \n
this.form,\n
\'ERP5Site_processAdvancedSearch\');"\n
tal:attributes="value python:here.getParamDict()[\'your_search_text\']"/>\n
@@ -92,7 +92,7 @@
value="" \n
tal:condition="python:not here.getParamDict().has_key(\'your_search_text\')"\n
type="text"\n
- onkeypress="submitFormOnEnter(event, \n
+ onkeyup="submitFormOnEnter(event, \n
this.form,\n
\'ERP5Site_processAdvancedSearch\');">\n
\n
@@ -356,7 +356,7 @@
value=""\n
tal:condition="python:here.getParamDict().has_key(\'your_search_text\')"\n
type="text" \n
- onkeypress="submitFormOnEnter(event, \n
+ onkeyup="submitFormOnEnter(event, \n
this.form,\n
\'ERP5Site_processAdvancedSearchBottom\');"\n
tal:attributes="value python:here.getParamDict()[\'your_search_text\']"/>\n
@@ -366,7 +366,7 @@
value=""\n
tal:condition="python:not here.getParamDict().has_key(\'your_search_text\')"\n
type="text"\n
- onkeypress="submitFormOnEnter(event, \n
+ onkeyup="submitFormOnEnter(event, \n
this.form,\n
\'ERP5Site_processAdvancedSearchBottom\');"/>\n
\n
@@ -387,7 +387,7 @@
tal:condition="python: here.getParamDict().has_key(\'your_search_text\')"\n
type="text"\n
tal:attributes=\'value python:here.getParamDict()["your_search_text"];\n
- onkeypress python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(context_url+"/"+form_id,box,box_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
+ onkeyup python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(context_url+"/"+form_id,box,box_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
\n
\n
<input tal:define ="params python: {\'ERP5Site_processAdvancedSearchBottom:method\':\'\',\'bottom_your_search_text\':\'this.value\'};"\n
@@ -396,7 +396,7 @@
value=""\n
tal:condition="python:not here.getParamDict().has_key(\'your_search_text\')"\n
type="text"\n
- tal:attributes=\'onkeypress python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(context_url+"/"+form_id,box,box_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
+ tal:attributes=\'onkeyup python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(context_url+"/"+form_id,box,box_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
\n
</div>\n
\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asStandardHTML.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asStandardHTML.xml?rev=26675&r1=26674&r2=26675&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asStandardHTML.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asStandardHTML.xml [utf8] Tue Apr 28 14:13:07 2009
@@ -143,7 +143,7 @@
name string:${field_id}_page_start;\n
value python:here.current_page + 1;\n
size python:len(str(here.total_pages));\n
- onkeypress string:submitFormOnEnter(event, this.form, \'${field_id}_setPage\')" />\n
+ onkeyup string:submitFormOnEnter(event, this.form, \'${field_id}_setPage\')" />\n
/ <tal:block content="here/total_pages" />\n
</td>\n
<td style="white-space: nowrap; vertical-align: middle; text-align: center">\n
@@ -325,7 +325,7 @@
tal:define ="params python: {alias:\'this.value\'};"\n
size="8" type="textarea" \n
tal:attributes=\'value python: selection.getParams().get(alias,"");\n
- onkeypress python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(context_url+"/"+form_id,box_relative_url,box_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
+ onkeyup python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(context_url+"/"+form_id,box_relative_url,box_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
</tal:block>\n
</span>\n
</td>\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml?rev=26675&r1=26674&r2=26675&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml [utf8] Tue Apr 28 14:13:07 2009
@@ -285,7 +285,7 @@
size="8"\n
type="textarea" \n
tal:attributes=\'value python: selection.getParams().get(alias,"");\n
- onkeypress python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(context_url+"/"+form_id,box,dom_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
+ onkeyup python:"if(event.keyCode==13){" + real_context.KnowledgePad_generateAjaxCall(context_url+"/"+form_id,box,dom_id,params).replace("\\"this.value\\"","this.value")+ "return false;;}"\'/>\n
\n
</tal:block>\n
</td>\n
@@ -429,7 +429,7 @@
tal:condition="python:not is_gadget_mode and show_search_line and here.getParamDict().has_key(\'advanced_search_text\')">\n
<input name="advanced_search_text" size="40" value=""\n
type="text" tal:attributes="value python:here.getParamDict()[\'advanced_search_text\']"\n
- onkeypress="submitFormOnEnter(event,\n
+ onkeyup="submitFormOnEnter(event,\n
this.form,\n
\'ERP5Site_processAdvancedSearch\');"/>\n
<input class="button" value="Search" name="ERP5Site_processAdvancedSearch:method" type="submit" />\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml?rev=26675&r1=26674&r2=26675&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/navigation_box_render.xml [utf8] Tue Apr 28 14:13:07 2009
@@ -122,7 +122,7 @@
<span id="search">\n
<input type="hidden" name="all_languages" value="1" />\n
<input accesskey="4" type="text" name="field_your_search_text" \n
- onkeypress="submitFormOnEnter(event, this.form, \'ERP5Site_viewQuickSearchResultList\');" />\n
+ onkeyup="submitFormOnEnter(event, this.form, \'ERP5Site_viewQuickSearchResultList\');" />\n
<button type="submit" name="ERP5Site_viewQuickSearchResultList:method" title="Search"\n
i18n:attributes="title" i18n:domain="ui">\n
<span class="image"></span>\n
Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=26675&r1=26674&r2=26675&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Tue Apr 28 14:13:07 2009
@@ -1,1 +1,1 @@
-716
+717
More information about the Erp5-report
mailing list