From e963d62c3f65d861db977efc2489ccf4b631beb5 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Thu, 9 Feb 2012 16:42:49 +0000 Subject: patch for #382 --- framework/Web/UI/WebControls/TReCaptchaValidator.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web/UI/WebControls') diff --git a/framework/Web/UI/WebControls/TReCaptchaValidator.php b/framework/Web/UI/WebControls/TReCaptchaValidator.php index 2898a913..7199e401 100644 --- a/framework/Web/UI/WebControls/TReCaptchaValidator.php +++ b/framework/Web/UI/WebControls/TReCaptchaValidator.php @@ -100,8 +100,8 @@ class TReCaptchaValidator extends TBaseValidator { $cs->registerEndScript( $this->getClientID().'::validate', - '$(\''.TJavaScript::quoteString($this->getClientID().'_1').'\').value = \''.TJavaScript::quoteString($value).'\';'. - 'Prado.Validation.validateControl(\''.TJavaScript::quoteString($control->ClientID).'\');' + '$('.TJavaScript::quoteString($this->getClientID().'_1').').value = '.TJavaScript::quoteString($value).';'. + 'Prado.Validation.validateControl('.TJavaScript::quoteString($control->ClientID).');' ); if ($control->getVisible(true)) -- cgit v1.2.3