summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TClientScriptManager.php
diff options
context:
space:
mode:
authorChristophe.Boulain <>2009-02-24 09:54:08 +0000
committerChristophe.Boulain <>2009-02-24 09:54:08 +0000
commitfa7f2fa663e7c9a06c5f45524811541ecc66ca5d (patch)
tree0cc56821a20d58e8142681ba42a19b350a7b8e60 /framework/Web/UI/TClientScriptManager.php
parent1d2260ea228fc98dce3c5fc088bd4b5ad8a9ebb4 (diff)
Fixed a bug introduced with rev r2613
Diffstat (limited to 'framework/Web/UI/TClientScriptManager.php')
-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 09e240c2..200bcba5 100644
--- a/framework/Web/UI/TClientScriptManager.php
+++ b/framework/Web/UI/TClientScriptManager.php
@@ -162,7 +162,8 @@ class TClientScriptManager extends TApplicationComponent
else
{
// In debug mode, we add 1 <script> line by file
- $baseUrl=$this->getPradoScriptAssetUrl();
+ $base = Prado::getFrameworkPath().DIRECTORY_SEPARATOR.self::SCRIPT_PATH;
+ list($path,$baseUrl)=$this->getPackagePathUrl($base);
$packagesUrl=array();
foreach ($packages as $p)
{