diff options
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r-- | framework/Web/UI/WebControls/TSliderClientScript.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TSliderClientScript.php b/framework/Web/UI/WebControls/TSliderClientScript.php index 3758d87d..a0a16d86 100644 --- a/framework/Web/UI/WebControls/TSliderClientScript.php +++ b/framework/Web/UI/WebControls/TSliderClientScript.php @@ -38,7 +38,7 @@ class TSliderClientScript extends TClientSideOptions */ public function setOnChange($javascript) { - $code=TJavascript::quoteJsLiteral("function (value) { {$javascript} }"); + $code=TJavaScript::quoteJsLiteral("function (value) { {$javascript} }"); $this->setFunction('onChange', $code); } @@ -55,7 +55,7 @@ class TSliderClientScript extends TClientSideOptions */ public function setOnSlide($javascript) { - $code=TJavascript::quoteJsLiteral("function (value) { {$javascript} }"); + $code=TJavaScript::quoteJsLiteral("function (value) { {$javascript} }"); $this->setFunction('onSlide', $code); } |