Commit b4677bb3 authored by Fabien Morin's avatar Fabien Morin

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

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28626 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent cd57e54d
......@@ -263,9 +263,11 @@ var addOnChangeEventHandler = function() {\n
\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
......
816
\ No newline at end of file
825
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment