From 203b10531a65a4d59bdce74bc6644d8621cd6a1a Mon Sep 17 00:00:00 2001 From: wei <> Date: Sat, 16 Sep 2006 01:27:27 +0000 Subject: Fixed #363 --- framework/Web/UI/ActiveControls/TCallbackClientScript.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web/UI') 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); } } -- cgit v1.2.3