From 639a6b1c052f8b3ef1d1063843cae1c88ef4f346 Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 27 Apr 2006 13:34:37 +0000 Subject: renamed "invoker" to "sender" in default javascript event receiving function. --- framework/Web/UI/WebControls/TBaseValidator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web/UI/WebControls') diff --git a/framework/Web/UI/WebControls/TBaseValidator.php b/framework/Web/UI/WebControls/TBaseValidator.php index 01d1b978..a63941db 100644 --- a/framework/Web/UI/WebControls/TBaseValidator.php +++ b/framework/Web/UI/WebControls/TBaseValidator.php @@ -594,7 +594,7 @@ class TValidatorClientScript extends TComponent /** * Ensure the string is a valid javascript function. If the string begins * with "javascript:" valid javascript function is assumed, otherwise the - * code block is enclosed with "function(validator, invoker){ }" block. + * code block is enclosed with "function(validator, sender){ }" block. * @param string javascript code. * @return string javascript function code. */ @@ -604,7 +604,7 @@ class TValidatorClientScript extends TComponent return $javascript; else { - $code = "function(validator, invoker){ {$javascript} }"; + $code = "function(validator, sender){ {$javascript} }"; return TJavascript::quoteFunction($code); } } -- cgit v1.2.3