summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TClientScriptManager.php
diff options
context:
space:
mode:
authorxue <>2006-02-19 05:10:07 +0000
committerxue <>2006-02-19 05:10:07 +0000
commitfb2ba05edf43665152150f65731a80ecb327b5da (patch)
treee38fa214f90d86e7be05bd31d16739a87fd0666f /framework/Web/UI/TClientScriptManager.php
parentd38334fc8aac7b4488a6fa10fe6acc219665c3bd (diff)
Made TForm DefaultButton working.
Diffstat (limited to 'framework/Web/UI/TClientScriptManager.php')
-rw-r--r--framework/Web/UI/TClientScriptManager.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php
index 381ee82b..180106ce 100644
--- a/framework/Web/UI/TClientScriptManager.php
+++ b/framework/Web/UI/TClientScriptManager.php
@@ -171,6 +171,7 @@ class TClientScriptManager extends TApplicationComponent
$options = TJavaScript::encode($this->getDefaultButtonOptions($panel, $button));
$code = "new Prado.WebUI.DefaultButton($options);";
$this->registerEndScript("prado:".$panel->getClientID(), $code);
+ $this->registerPradoScript('prado');
}
/**