diff options
author | tof <> | 2008-03-13 11:01:44 +0000 |
---|---|---|
committer | tof <> | 2008-03-13 11:01:44 +0000 |
commit | 988f3d952b74ea6cd86ebffbbf83c581d8d3aa06 (patch) | |
tree | cdba8c8490491610654d32cbc4ce5cd7a6334f81 /framework/Web/UI/ActiveControls | |
parent | 01bca75520b442cdf7bdfa32b14fac13d871d106 (diff) |
Upgrade to Prototype 1.6.0.2 & Scriptaculous 1.8.1
Diffstat (limited to 'framework/Web/UI/ActiveControls')
-rw-r--r-- | framework/Web/UI/ActiveControls/TCallbackClientScript.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/framework/Web/UI/ActiveControls/TCallbackClientScript.php b/framework/Web/UI/ActiveControls/TCallbackClientScript.php index 837b5b51..523a4b56 100644 --- a/framework/Web/UI/ActiveControls/TCallbackClientScript.php +++ b/framework/Web/UI/ActiveControls/TCallbackClientScript.php @@ -296,7 +296,12 @@ class TCallbackClientScript extends TApplicationComponent */
public function setStyle($element, $styles)
{
- $this->callClientFunction('Element.setStyle', array($element, $styles));
+ $s=array(); + foreach ($styles as $key=>$value) + { + $s[]=$key.": ".$value; + } + $this->callClientFunction('Element.setStyle', array($element, $s));
}
/**
|