diff options
author | wei <> | 2006-01-19 05:18:39 +0000 |
---|---|---|
committer | wei <> | 2006-01-19 05:18:39 +0000 |
commit | fd5e244960a5824de0b3e7193d373d15be25e4e2 (patch) | |
tree | b7b3d537c5e5f1ec966c65985259887d7a5681bc /framework/Web | |
parent | 1b70c13faf9a6a7e45556ad00b42559ff11c9487 (diff) |
ibid
Diffstat (limited to 'framework/Web')
-rw-r--r-- | framework/Web/UI/WebControls/TBaseValidator.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TBaseValidator.php b/framework/Web/UI/WebControls/TBaseValidator.php index 18f5ec7e..af8eb7e9 100644 --- a/framework/Web/UI/WebControls/TBaseValidator.php +++ b/framework/Web/UI/WebControls/TBaseValidator.php @@ -155,8 +155,7 @@ abstract class TBaseValidator extends TLabel implements IValidator if($this->getEnableClientScript() && !$scripts->isEndScriptRegistered($scriptKey)) { $scripts->registerClientScript('validator'); - $js = "Prado.Validation.AddForm('$formID');"; - $scripts->registerEndScript($scriptKey, $js); + $scripts->registerEndScript($scriptKey, "Prado.Validation.AddForm('$formID');"); } if($this->getEnableClientScript()) $this->registerClientScriptValidator(); |