summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TTabPanel.php
diff options
context:
space:
mode:
authorxue <>2007-08-28 19:33:29 +0000
committerxue <>2007-08-28 19:33:29 +0000
commitff402bd8de1edd97bb06d30d7600212b5fc22f16 (patch)
tree2db596f197ee4a399624d57a3f2e4b120abf5d02 /framework/Web/UI/WebControls/TTabPanel.php
parent888fa27278a1791dc77385bfdb60a52df54e898b (diff)
moved css files to assets folder.
Diffstat (limited to 'framework/Web/UI/WebControls/TTabPanel.php')
-rw-r--r--framework/Web/UI/WebControls/TTabPanel.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TTabPanel.php b/framework/Web/UI/WebControls/TTabPanel.php
index 394f7326..d4524534 100644
--- a/framework/Web/UI/WebControls/TTabPanel.php
+++ b/framework/Web/UI/WebControls/TTabPanel.php
@@ -384,7 +384,7 @@ class TTabPanel extends TWebControl implements IPostBackDataHandler
protected function registerStyleSheet()
{
if(($url=$this->getCssUrl())==='')
- $url=$this->publishAsset('TTabPanel.css',__CLASS__);
+ $url=$this->getApplication()->getAssetManager()->publishFilePath(dirname(__FILE__).DIRECTORY_SEPARATOR.'assets'.DIRECTORY_SEPARATOR.'tabpanel.css');
$this->getPage()->getClientScript()->registerStyleSheetFile($url,$url);
}