diff options
author | wei <> | 2006-09-02 04:02:56 +0000 |
---|---|---|
committer | wei <> | 2006-09-02 04:02:56 +0000 |
commit | 32feb309dc59ca50757431d627db7437c0e29073 (patch) | |
tree | b31ef25e9e33a1a3cd63051fa8bdd39deab717cc /framework/Web/UI/TClientScriptManager.php | |
parent | 815c7462bbc4848939aa53cf375a0269d51b81fa (diff) |
Fixed #211
Diffstat (limited to 'framework/Web/UI/TClientScriptManager.php')
-rw-r--r-- | framework/Web/UI/TClientScriptManager.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/framework/Web/UI/TClientScriptManager.php b/framework/Web/UI/TClientScriptManager.php index 30009c63..49a34a02 100644 --- a/framework/Web/UI/TClientScriptManager.php +++ b/framework/Web/UI/TClientScriptManager.php @@ -201,6 +201,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->registerHiddenField(TPage::FIELD_POSTBACK_TARGET,''); $this->registerPradoScript('prado'); } @@ -225,6 +226,7 @@ class TClientScriptManager extends TApplicationComponent { $options['Panel'] = $panel->getClientID(); $options['Target'] = $button->getClientID(); + $options['EventTarget'] = $button->getUniqueID(); $options['Event'] = 'click'; return $options; } |