summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorctrlaltca@gmail.com <>2012-02-01 15:50:05 +0000
committerctrlaltca@gmail.com <>2012-02-01 15:50:05 +0000
commit44b8ec3ad302ed1eb241aac0313951f761aaad8f (patch)
treec7fc22dbd28e0aeec136fce5ef7899090d6db71d /framework
parent29cff25930af018f639e8e091f9f7f72c828e922 (diff)
fix: css registration upon callback was missing some files from getting rendered
Diffstat (limited to 'framework')
-rw-r--r--framework/Web/UI/TClientScriptManager.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php
index 91537c45..045169f1 100644
--- a/framework/Web/UI/TClientScriptManager.php
+++ b/framework/Web/UI/TClientScriptManager.php
@@ -447,7 +447,8 @@ class TClientScriptManager extends TApplicationComponent
*/
public function getStyleSheetUrls()
{
- $stylesheets = array_values($this->_styleSheets);
+
+ $stylesheets = array_values(array_merge($this->_styleSheetFiles, $this->_styleSheets));
foreach(Prado::getApplication()->getAssetManager()->getPublished() as $path=>$url)
if (substr($url,strlen($url)-4)=='.css')