From ec46fdc945f591e910051aca0457097825afd34c Mon Sep 17 00:00:00 2001 From: xue <> Date: Tue, 6 Dec 2005 22:53:07 +0000 Subject: --- framework/Web/UI/TClientScriptManager.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'framework/Web/UI/TClientScriptManager.php') diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php index 03ac8479..ace11064 100644 --- a/framework/Web/UI/TClientScriptManager.php +++ b/framework/Web/UI/TClientScriptManager.php @@ -195,6 +195,12 @@ class TClientScriptManager extends TComponent } } + public function registerDefaultButtonScript($button) + { + $this->registerScriptInclude('prado:base',$this->publishScriptFile('base.js')); + return 'return Prado.DefaultButton.fire(event,\''.$button->getClientID().'\')'; + } + public function registerValidationScript() { } -- cgit v1.2.3