summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TPage.php
diff options
context:
space:
mode:
authorxue <>2005-12-08 19:20:59 +0000
committerxue <>2005-12-08 19:20:59 +0000
commit84f52b18da70cb1fa2648f4d82ee45c6415c64ed (patch)
treee1ecd3a785bd87dda33d7338bf6a78c274ba7f75 /framework/Web/UI/TPage.php
parentaf2d46c638c91ade1b627e957241ddaf98f5ed5f (diff)
Diffstat (limited to 'framework/Web/UI/TPage.php')
-rw-r--r--framework/Web/UI/TPage.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php
index f9d8f879..0bcba739 100644
--- a/framework/Web/UI/TPage.php
+++ b/framework/Web/UI/TPage.php
@@ -451,11 +451,15 @@ class TPage extends TTemplateControl
{
foreach($this->_theme->getStyleSheetFiles() as $url)
$cs->registerStyleSheetFile($url,$url);
+ foreach($this->_theme->getJavaScriptFiles() as $url)
+ $cs->registerHeadScriptFile($url,$url);
}
if($this->_styleSheet)
{
foreach($this->_styleSheet->getStyleSheetFiles() as $url)
$cs->registerStyleSheetFile($url,$url);
+ foreach($this->_styleSheet->getJavaScriptFiles() as $url)
+ $cs->registerHeadScriptFile($url,$url);
}
}