Update of /var/cvs/html/mmbase/validation In directory james.mmbase.org:/tmp/cvs-serv5212
Modified Files: Tag: MMBase-1_8 validation.js.jsp Log Message: a this pointed to the wrong object See also: http://cvs.mmbase.org/viewcvs/html/mmbase/validation Index: validation.js.jsp =================================================================== RCS file: /var/cvs/html/mmbase/validation/validation.js.jsp,v retrieving revision 1.11.2.18 retrieving revision 1.11.2.19 diff -u -b -r1.11.2.18 -r1.11.2.19 --- validation.js.jsp 28 Mar 2008 15:45:48 -0000 1.11.2.18 +++ validation.js.jsp 31 Mar 2008 15:51:19 -0000 1.11.2.19 @@ -10,7 +10,7 @@ * then call validator.setup(window[,root]). * * @author Michiel Meeuwissen - * @version $Id: validation.js.jsp,v 1.11.2.18 2008/03/28 15:45:48 michiel Exp $ + * @version $Id: validation.js.jsp,v 1.11.2.19 2008/03/31 15:51:19 michiel Exp $ */ var validators = new Array(); @@ -477,7 +477,7 @@ var key = new Key(); key.nodeManager = nodemanager; key.field = fields[i].getAttribute("name"); - this.dataTypeCache[key.string()] = $(res.responseText)[0]; + self.dataTypeCache[key.string()] = $(res.responseText)[0]; } //console.log("" + res); } _______________________________________________ Cvs mailing list Cvs@lists.mmbase.org http://lists.mmbase.org/mailman/listinfo/cvs