summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TActiveDropDownList.php
diff options
context:
space:
mode:
authorchristophe.boulain <>2009-01-07 12:58:53 +0000
committerchristophe.boulain <>2009-01-07 12:58:53 +0000
commitfd4b2bffc430cb761ea0d54d19f5d1acd184a1c6 (patch)
tree0e2384e244ef765c80dada998601be0915735f68 /framework/Web/UI/ActiveControls/TActiveDropDownList.php
parent9c90e157734d921cd04f17a6559b2d8542d8f2bd (diff)
TActiveCheckBox, TActiveRadioButton, TActiveDropDownList, TActiveListBox won't raise callback if AutoPostBack is false
Diffstat (limited to 'framework/Web/UI/ActiveControls/TActiveDropDownList.php')
-rw-r--r--framework/Web/UI/ActiveControls/TActiveDropDownList.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveDropDownList.php b/framework/Web/UI/ActiveControls/TActiveDropDownList.php
index e66b4cbd..c9458494 100644
--- a/framework/Web/UI/ActiveControls/TActiveDropDownList.php
+++ b/framework/Web/UI/ActiveControls/TActiveDropDownList.php
@@ -105,8 +105,9 @@ class TActiveDropDownList extends TDropDownList implements ICallbackEventHandler
{
parent::addAttributesToRender($writer);
$writer->addAttribute('id',$this->getClientID());
- $this->getActiveControl()->registerCallbackClientScript(
- $this->getClientClassName(), $this->getPostBackOptions());
+ if ($this->getAutoPostBack())
+ $this->getActiveControl()->registerCallbackClientScript(
+ $this->getClientClassName(), $this->getPostBackOptions());
}
/**