From fb2ba05edf43665152150f65731a80ecb327b5da Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 19 Feb 2006 05:10:07 +0000 Subject: Made TForm DefaultButton working. --- framework/Web/UI/TClientScriptManager.php | 1 + 1 file changed, 1 insertion(+) (limited to 'framework/Web/UI/TClientScriptManager.php') 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'); } /** -- cgit v1.2.3