diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/UI/ActiveControls/TCallbackClientScript.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/framework/Web/UI/ActiveControls/TCallbackClientScript.php b/framework/Web/UI/ActiveControls/TCallbackClientScript.php index 6656822e..19e395df 100644 --- a/framework/Web/UI/ActiveControls/TCallbackClientScript.php +++ b/framework/Web/UI/ActiveControls/TCallbackClientScript.php @@ -201,10 +201,12 @@ class TCallbackClientScript extends TApplicationComponent /**
* Toggles the visibility of the element.
* @param TControl control element or element id
+ * @param string visual effect, such as, 'appear' or 'slide' or 'blind'.
+ * @param array additional options.
*/
- public function toggle($element)
+ public function toggle($element, $effect=null, $options=array())
{
- $this->callClientFunction('Element.toggle', $element);
+ $this->callClientFunction('Element.toggle', array($element,$effect,$options));
}
/**
|