2007-09-29 Marek Habersack <mhabersack@novell.com>
authorMarek Habersack <grendel@twistedcode.net>
Fri, 28 Sep 2007 23:51:55 +0000 (23:51 -0000)
committerMarek Habersack <grendel@twistedcode.net>
Fri, 28 Sep 2007 23:51:55 +0000 (23:51 -0000)
commit75b9a8988eb31b43fd99e83648ef6ae0092ef3fa
tree6bf086ffcabe6adb9248a31935632bbe71fca703
parent7dfc219731d2c767122ed20f8f6de23eb6dde1b6
2007-09-29  Marek Habersack  <mhabersack@novell.com>

* WebUIValidation_2.0.js: replace all the ocurrences of 'this' with
'webForm'. The reason for such change is that under certain
circumstances the function may be called on an object which is not
the original webForm to which the function was assigned. This
happens, for instance, in the AJAX Control Toolkit which wraps the
ValidatorGetValue function with its own version and calls the
original function on a Function object, so 'this' in that instance
becomes a 'function()' and not the original 'Window' object.

svn path=/trunk/mcs/; revision=86622
mcs/class/System.Web/resources/ChangeLog
mcs/class/System.Web/resources/WebUIValidation_2.0.js