summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2013-11-03 19:57:22 +0100
committerFabio Bas <ctrlaltca@gmail.com>2013-11-03 19:57:22 +0100
commit54be23665cee89af63793bafdb6cb7cc80c31a4b (patch)
tree0dddebb72a911741193867f1c92ad9d9468da831 /framework/Web/UI
parent6801f262e4955fcb7fa48bc88ef64df786f0c650 (diff)
Ported TCallback + demo
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/ActiveControls/TBaseActiveControl.php3
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;
}