diff options
author | wei <> | 2007-04-30 02:52:44 +0000 |
---|---|---|
committer | wei <> | 2007-04-30 02:52:44 +0000 |
commit | 970057f16ae4ca2a85ad6710c0d6e371f0bf003d (patch) | |
tree | 123ea07f771108db1504c443ce2dae5f21b548e7 | |
parent | 4b60031405442b90fd7ec36aa98d4c1f3d00d71d (diff) |
fixed http://www.pradosoft.com/forum/index.php/topic,7526.0/topicseen.html
-rw-r--r-- | framework/Web/UI/WebControls/TClientScriptLoader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TClientScriptLoader.php b/framework/Web/UI/WebControls/TClientScriptLoader.php index f59a9ba4..d300eee8 100644 --- a/framework/Web/UI/WebControls/TClientScriptLoader.php +++ b/framework/Web/UI/WebControls/TClientScriptLoader.php @@ -95,7 +95,7 @@ class TClientScriptLoader extends TWebControl */
protected function getClientScriptUrl()
{
- $scripts = split('\s*[, ]+\s*', $this->getPackageScripts());
+ $scripts = preg_split('/\s*[, ]+\s*/', $this->getPackageScripts());
$cs = $this->getPage()->getClientScript();
return $cs->registerJavascriptPackages($this->getPackagePath(),
$scripts, $this->getDebugMode(), $this->getEnableGzip());
|