Changeset 2196

Show
Ignore:
Timestamp:
09/03/2007 01:36:52 PM (16 months ago)
Author:
tof
Message:

TSlider : Correct a bug in asset's publishing

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/3.2-dev/framework/Web/UI/WebControls/TSlider.php

    r2195 r2196  
    387387        { 
    388388                if(($url=$this->getCssUrl())==='') 
    389                 $url=$this->getApplication()->getAssetManager()->publishFilePath(dirname(__FILE__).DIRECTORY_SEPARATOR.'assets'.DIRECTORY_SEPARATOR.'TSlider.css'); 
     389                { 
     390                        // publish the handle image 
     391                        $this->getApplication()->getAssetManager()->publishFilePath(dirname(__FILE__).DIRECTORY_SEPARATOR.'assets'.DIRECTORY_SEPARATOR.'TSliderHandle.png'); 
     392                        // publish the css file 
     393                        $url=$this->getApplication()->getAssetManager()->publishFilePath(dirname(__FILE__).DIRECTORY_SEPARATOR.'assets'.DIRECTORY_SEPARATOR.'TSlider.css'); 
     394                         
     395                } 
    390396                $this->getPage()->getClientScript()->registerStyleSheetFile($url,$url); 
    391397        }