summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TStyleSheet.php
diff options
context:
space:
mode:
authorwei <>2006-07-05 01:43:07 +0000
committerwei <>2006-07-05 01:43:07 +0000
commit91c4292a8063dd2d7a27e7629c015faa4bf052d6 (patch)
tree5c102f497f409e2f5deab2a41b07fdea9e7b84c5 /framework/Web/UI/WebControls/TStyleSheet.php
parenta957f5fb091962c05738d619ebc65a908aa397ca (diff)
Upate TClientScript
Diffstat (limited to 'framework/Web/UI/WebControls/TStyleSheet.php')
-rw-r--r--framework/Web/UI/WebControls/TStyleSheet.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/framework/Web/UI/WebControls/TStyleSheet.php b/framework/Web/UI/WebControls/TStyleSheet.php
index 02ac40cd..5925645c 100644
--- a/framework/Web/UI/WebControls/TStyleSheet.php
+++ b/framework/Web/UI/WebControls/TStyleSheet.php
@@ -52,11 +52,8 @@ class TStyleSheet extends TControl
*/
public function onPreRender($param)
{
- if($this->getEnabled(true))
- {
- if(($url=$this->getStyleSheetUrl())!=='')
- $this->getPage()->getClientScript()->registerStyleSheetFile($url,$url);
- }
+ if(($url=$this->getStyleSheetUrl())!=='')
+ $this->getPage()->getClientScript()->registerStyleSheetFile($url,$url);
}
/**