Show
Ignore:
Timestamp:
03/13/2008 06:01:44 AM (10 months ago)
Author:
tof
Message:

Upgrade to Prototype 1.6.0.2 & Scriptaculous 1.8.1

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/framework/Web/UI/ActiveControls/TCallbackClientScript.php

    r1796 r2404  
    297297        public function setStyle($element, $styles) 
    298298        { 
    299                 $this->callClientFunction('Element.setStyle', array($element, $styles)); 
     299                $s=array(); 
     300                foreach ($styles as $key=>$value) 
     301                { 
     302                        $s[]=$key.": ".$value; 
     303                } 
     304                $this->callClientFunction('Element.setStyle', array($element, $s)); 
    300305        } 
    301306