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

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Aug 25 22:07:16 CEST 2009


Author: fabien
Date: Tue Aug 25 22:07:15 2009
New Revision: 28626

URL: http://svn.erp5.org?rev=28626&view=rev
Log:
don't add set the changed variable on onChangeEventHandler.
In this way no warning messages about not saved data is display when a login/password field is modified

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=28626&r1=28625&r2=28626&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 Aug 25 22:07:15 2009
@@ -263,9 +263,11 @@
 \n
       for (j=0; j<nodes.length; j++) {\n
         if (nodes[j].nodeName == "INPUT" ||\n
-            nodes[j].nodeName == "SELECT" || \n
+            nodes[j].nodeName == "SELECT" ||\n
             nodes[j].nodeName == "TEXTAREA") {\n
-         if (nodes[j].value == "update...") {\n
+            if (nodes[j].value == "update..." ||\n
+                nodes[j].id == "__ac_name" ||\n
+                nodes[j].id == "password") {\n
            // this is a relation field wheel\n
            nodes[j].onclick = function() { changed = false;};\n
           } else {\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=28626&r1=28625&r2=28626&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 Aug 25 22:07:15 2009
@@ -1,1 +1,1 @@
-816
+825




More information about the Erp5-report mailing list