[Erp5-report] r26688 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 28 23:25:31 CEST 2009


Author: kazuhiko
Date: Tue Apr 28 23:25:30 2009
New Revision: 26688

URL: http://svn.erp5.org?rev=26688&view=rev
Log:
add a code for backward compatibility.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml?rev=26688&r1=26687&r2=26688&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.js.xml [utf8] Tue Apr 28 23:25:30 2009
@@ -185,6 +185,9 @@
 // and modify respective main form action\n
 function submitFormOnEnter(event, form, method_name){\n
   if(event.keyCode == 13){\n
+    if (form == \'main_form\') {\n
+      form = getElement(form); // backward compatibility\n
+    }\n
     form.action = method_name;\n
     form.submit();\n
   }\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=26688&r1=26687&r2=26688&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 23:25:30 2009
@@ -1,1 +1,1 @@
-719
+720




More information about the Erp5-report mailing list