summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
authorwei <>2006-04-27 13:34:37 +0000
committerwei <>2006-04-27 13:34:37 +0000
commit639a6b1c052f8b3ef1d1063843cae1c88ef4f346 (patch)
tree0767b2974d4d4f9f6c36bdf775e50ca48bc71451 /framework/Web/UI/WebControls
parent188bf7c18ec24577e10c99a173bf1732d88b0cfd (diff)
renamed "invoker" to "sender" in default javascript event receiving function.
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r--framework/Web/UI/WebControls/TBaseValidator.php4
1 files changed, 2 insertions, 2 deletions
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);
}
}