From ff402bd8de1edd97bb06d30d7600212b5fc22f16 Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 28 Aug 2007 19:33:29 +0000 Subject: moved css files to assets folder. --- framework/Web/UI/WebControls/TTabPanel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/WebControls/TTabPanel.php') 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); } -- cgit v1.2.3