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/TDatePicker.php | |
parent | a2cf28f9759c9a1b385914ad64b4f74470f8703b (diff) |
Modified asset manipulation APIs.
Diffstat (limited to 'framework/Web/UI/WebControls/TDatePicker.php')
-rw-r--r-- | framework/Web/UI/WebControls/TDatePicker.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TDatePicker.php b/framework/Web/UI/WebControls/TDatePicker.php index e7e68f6f..6f5eaffb 100644 --- a/framework/Web/UI/WebControls/TDatePicker.php +++ b/framework/Web/UI/WebControls/TDatePicker.php @@ -330,7 +330,7 @@ class TDatePicker extends TTextBox $cs = $this->getPage()->getClientScript();
$image = 'System.Web.Javascripts.datepicker.calendar';
$file = Prado::getPathOfNamespace($image, '.png');
- return $this->getService()->getAsset($file);
+ return $this->publishFilePath($file);
}
/**
@@ -342,7 +342,7 @@ class TDatePicker extends TTextBox $cs = $this->getPage()->getClientScript();
$style = 'System.Web.Javascripts.datepicker.'.$this->getCalendarStyle();
$cssFile=Prado::getPathOfNamespace($style,'.css');
- $url = $this->getService()->getAsset($cssFile);
+ $url = $this->publishFilePath($cssFile);
if(!$cs->isStyleSheetFileRegistered($style))
$cs->registerStyleSheetFile($style, $url);
return $url;
|