[Erp5-report] r34427 jerome - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: Skin...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Apr 9 14:46:43 CEST 2010
Author: jerome
Date: Fri Apr 9 14:46:36 2010
New Revision: 34427
URL: http://svn.erp5.org?rev=34427&view=rev
Log:
Also install onbeforeunload for fields inside matrixbox and listboxs
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=34427&r1=34426&r2=34427&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] Fri Apr 9 14:46:36 2010
@@ -284,6 +284,19 @@
nodes[j].onchange = function() { changed = true; };\n
}\n
}\n
+ } \n
+ /* Listbox or MatrixBox */\n
+ if (nodes[j].nodeName == "DIV" && (\n
+ nodes[j].getAttribute("class") == "listbox" ||\n
+ nodes[j].getAttribute("class") == "MatrixContent")) {\n
+\n
+ inputs = nodes[j].getElementsByTagName(\'input\');\n
+ for (k=0; k<inputs.length; k++){\n
+ if (inputs[k].getAttribute("type") != "hidden" &&\n
+ !inputs[k].onchange) {\n
+ inputs[k].onchange = function() { changed = true; };\n
+ }\n
+ }\n
}\n
}\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=34427&r1=34426&r2=34427&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] Fri Apr 9 14:46:36 2010
@@ -1,1 +1,1 @@
-920
+921
More information about the Erp5-report
mailing list