diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2013-11-03 19:57:22 +0100 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2013-11-03 19:57:22 +0100 |
commit | 54be23665cee89af63793bafdb6cb7cc80c31a4b (patch) | |
tree | 0dddebb72a911741193867f1c92ad9d9468da831 /framework/Web/UI/ActiveControls/TBaseActiveControl.php | |
parent | 6801f262e4955fcb7fa48bc88ef64df786f0c650 (diff) |
Ported TCallback + demo
Diffstat (limited to 'framework/Web/UI/ActiveControls/TBaseActiveControl.php')
-rw-r--r-- | framework/Web/UI/ActiveControls/TBaseActiveControl.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/Web/UI/ActiveControls/TBaseActiveControl.php b/framework/Web/UI/ActiveControls/TBaseActiveControl.php index 61230719..f4daec02 100644 --- a/framework/Web/UI/ActiveControls/TBaseActiveControl.php +++ b/framework/Web/UI/ActiveControls/TBaseActiveControl.php @@ -332,6 +332,9 @@ class TBaseActiveCallbackControl extends TBaseActiveControl $options['CausesValidation']= $validate ? '' : false; $options['ValidationGroup']=$this->getValidationGroup(); $options['CallbackParameter'] = $this->getCallbackParameter(); + // needed for TCallback + if(!isset($options['EventTarget'])) + $options['EventTarget'] = $this->getControl()->getUniqueID(); return $options; } |