mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 12:31:30 -10:00
* 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