summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TClientScriptManager.php
diff options
context:
space:
mode:
authorwei <>2006-01-16 03:41:43 +0000
committerwei <>2006-01-16 03:41:43 +0000
commit4cecd6f96c26f747181639046c983ead66f28f17 (patch)
treea20573760ffea2a92de0ddf8417462098aa9c69f /framework/Web/UI/TClientScriptManager.php
parentce2b2803b78379a2bfca2849a5d5f8933a1634ea (diff)
Diffstat (limited to 'framework/Web/UI/TClientScriptManager.php')
-rw-r--r--framework/Web/UI/TClientScriptManager.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php
index f7778de9..acbe7f20 100644
--- a/framework/Web/UI/TClientScriptManager.php
+++ b/framework/Web/UI/TClientScriptManager.php
@@ -198,7 +198,7 @@ class TClientScriptManager extends TComponent
$url = $this->publishClientScriptCompressorAsset();
$url .= '?js='.implode(',', $scripts);
if(Prado::getApplication()->getMode() == TApplication::STATE_DEBUG)
- $url .= '&nocache';
+ $url .= '&__nocache';
$this->registerScriptFile('prado:gzipscripts', $url);
}
@@ -276,7 +276,7 @@ class TClientScriptManager extends TComponent
public function registerDefaultButtonScript($button)
{
- $this->registerPradoScript('base');
+ $this->registerPradoScript('prado');
return 'return Prado.Button.fireButton(event,\''.$button->getClientID().'\')';
}
@@ -510,7 +510,7 @@ class TClientScriptManager extends TComponent
public function registerClientEvent($control, $event, $code)
{
if(empty($code)) return;
- $this->registerPradoScript("dom");
+ $this->registerPradoScript("prado");
$script= "Event.observe('{$control->ClientID}', '{$event}', function(e){ {$code} });";
$key = "prado:{$control->ClientID}:{$event}";
$this->registerEndScript($key, $script);
@@ -678,13 +678,13 @@ class TPradoClientScript
* @var array
*/
protected static $dependencies = array(
- 'base' => array('base'),
- 'dom' => array('base', 'dom'),
- 'effects' => array('base', 'dom', 'effects'),
- 'controls' => array('base', 'dom', 'effects', 'controls'),
- 'validator' => array('base', 'dom', 'validator'),
- 'logger' => array('base', 'dom', 'logger'),
- 'ajax' => array('base', 'dom', 'ajax')
+ 'prado' => array('prado'),
+ 'effects' => array('prado', 'effects'),
+ 'ajax' => array('prado', 'effects', 'ajax'),
+ 'validator' => array('prado', 'validator'),
+ 'logger' => array('prado', 'logger'),
+ 'datepicker' => array('prado', 'datepicker'),
+ 'rico' => array('prado', 'effects', 'ajax', 'rico')
);
/**