summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TCallbackClientScript.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/ActiveControls/TCallbackClientScript.php')
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackClientScript.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/ActiveControls/TCallbackClientScript.php b/framework/Web/UI/ActiveControls/TCallbackClientScript.php
index ebc5942f..4b568987 100644
--- a/framework/Web/UI/ActiveControls/TCallbackClientScript.php
+++ b/framework/Web/UI/ActiveControls/TCallbackClientScript.php
@@ -417,7 +417,7 @@ class TCallbackClientScript extends TApplicationComponent
*/
public function visualEffect($type, $element, $options=null)
{
- $this->callClientFunction($type, is_array($options) ? array($element, $options) : $element);
+ $this->callClientFunction($type, array($element, $options));
}
/**
@@ -578,7 +578,7 @@ class TCallbackClientScript extends TApplicationComponent
*/
public function highlight($element, $options=null)
{
- $this->visualEffect('Effect.Highlight', $element, $options);
+ $this->visualEffect('Prado.Effect.Highlight', $element, $options);
}
}