diff options
author | xue <> | 2006-02-26 16:40:43 +0000 |
---|---|---|
committer | xue <> | 2006-02-26 16:40:43 +0000 |
commit | 479683ba68d0b179105afd7e1f1d97b17730f7d3 (patch) | |
tree | 17763388f7242c5729b7bb17b8627da255a228ab /framework/Web/UI/WebControls/THead.php | |
parent | ce75cf0aacdcf4e06c2c40fd2a15490ae7ad7c3e (diff) |
Fixed a bug in rendering script files.
Diffstat (limited to 'framework/Web/UI/WebControls/THead.php')
-rw-r--r-- | framework/Web/UI/WebControls/THead.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/THead.php b/framework/Web/UI/WebControls/THead.php index 48f436a3..ee2effeb 100644 --- a/framework/Web/UI/WebControls/THead.php +++ b/framework/Web/UI/WebControls/THead.php @@ -130,8 +130,11 @@ class THead extends TControl $cs=$page->getClientScript();
$cs->renderStyleSheetFiles($writer);
$cs->renderStyleSheets($writer);
- $cs->renderHeadScriptFiles($writer);
- $cs->renderHeadScripts($writer);
+ if($page->getClientSupportsJavaScript())
+ {
+ $cs->renderHeadScriptFiles($writer);
+ $cs->renderHeadScripts($writer);
+ }
parent::render($writer);
$writer->write("</head>\n");
}
|