diff options
author | xue <> | 2006-02-16 22:48:18 +0000 |
---|---|---|
committer | xue <> | 2006-02-16 22:48:18 +0000 |
commit | e9bfba959b6d655ed2eba71e4f2a618237d68698 (patch) | |
tree | 7e9160367d627a13d177c104802dc343f2f32e33 /framework/Web/UI/WebControls/TColorPicker.php | |
parent | a2cf28f9759c9a1b385914ad64b4f74470f8703b (diff) |
Modified asset manipulation APIs.
Diffstat (limited to 'framework/Web/UI/WebControls/TColorPicker.php')
-rw-r--r-- | framework/Web/UI/WebControls/TColorPicker.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TColorPicker.php b/framework/Web/UI/WebControls/TColorPicker.php index f168aa5f..2a19125b 100644 --- a/framework/Web/UI/WebControls/TColorPicker.php +++ b/framework/Web/UI/WebControls/TColorPicker.php @@ -133,7 +133,7 @@ class TColorPicker extends TTextBox $cs = $this->getPage()->getClientScript();
$style = 'System.Web.Javascripts.colorpicker.'.$this->getColorPickerStyle();
$cssFile=Prado::getPathOfNamespace($style,'.css');
- $url = $this->getService()->getAsset($cssFile);
+ $url = $this->publishFilePath($cssFile);
if(!$cs->isStyleSheetFileRegistered($style))
$cs->registerStyleSheetFile($style, $url);
return $url;
@@ -158,7 +158,7 @@ class TColorPicker extends TTextBox {
$image = 'System.Web.Javascripts.colorpicker.'.$filename;
$file = Prado::getPathOfNamespace($image, $ext);
- $list[$filename.$ext] = $this->getService()->getAsset($file);
+ $list[$filename.$ext] = $this->publishFilePath($file);
}
$imgs['button.gif'] = $list['button.gif'];
$imgs['background.png'] = $list['background.png'];
|