[Erp5-report] r42676 ivan - in /erp5/trunk/bt5/erp5_xhtml_jquery_style: SkinTemplateItem/po...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jan 26 11:03:39 CET 2011
Author: ivan
Date: Wed Jan 26 11:03:38 2011
New Revision: 42676
URL: http://svn.erp5.org?rev=42676&view=rev
Log:
Access directly form element without jQuery.
Modified:
erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5.js.xml
erp5/trunk/bt5/erp5_xhtml_jquery_style/bt/revision
Modified: erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5.js.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5.js.xml?rev=42676&r1=42675&r2=42676&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5.js.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_xhtml_jquery_style/SkinTemplateItem/portal_skins/erp5_xhtml_jquery_style/erp5.js.xml [utf8] Wed Jan 26 11:03:38 2011
@@ -174,7 +174,7 @@ function submitFormOnEnter(event, form,
if (clear_changed_flag == null){ clear_changed_flag = false; }\n
if(event.keyCode == 13){\n
if (form == "main_form") {\n
- form = $("#"+form).get(); // backward compatibility\n
+ form = document.forms[form]; // backward compatibility\n
}\n
form.action = method_name;\n
if (clear_changed_flag==true) {\n
Modified: erp5/trunk/bt5/erp5_xhtml_jquery_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_xhtml_jquery_style/bt/revision?rev=42676&r1=42675&r2=42676&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_xhtml_jquery_style/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_xhtml_jquery_style/bt/revision [utf8] Wed Jan 26 11:03:38 2011
@@ -1 +1 @@
-10
\ No newline at end of file
+11
\ No newline at end of file
More information about the Erp5-report
mailing list