summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxue <>2006-03-30 15:27:05 +0000
committerxue <>2006-03-30 15:27:05 +0000
commit61e3a9ef1e3082a97e2215b31011a52f6edaa45d (patch)
tree8061f60417dc271c9ddf53b73d82b22323672a57
parentf33cf3871a9ef0462b72def7170b98b367115a63 (diff)
Fixed #107
-rw-r--r--HISTORY1
-rw-r--r--framework/Web/UI/WebControls/TListControl.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index 1abd6952..8157298a 100644
--- a/HISTORY
+++ b/HISTORY
@@ -5,6 +5,7 @@ BUG: Ticket#85 - Undefined TDataGrid::setSelectedIndex (Qiang)
BUG: Ticket#87 - Typo in IDbConnection (Qiang)
BUG: Ticket#95 - Typo in TTemplateControl::registerContentPlaceHolder (Qiang)
BUG: Ticket#103 - Typo in TStyle::setVerticalAlign (Qiang)
+BUG: Ticket#107 - ListControls not respect parent disabling (Qiang)
BUG: SF#1446846 - Typo in THead (Qiang)
BUG: SF#1432624 - Incorrect documentation about caching expiry (Qiang)
BUG: THttpSession fails when user storage module is used (Qiang)
diff --git a/framework/Web/UI/WebControls/TListControl.php b/framework/Web/UI/WebControls/TListControl.php
index 7ea22e1d..3d73556a 100644
--- a/framework/Web/UI/WebControls/TListControl.php
+++ b/framework/Web/UI/WebControls/TListControl.php
@@ -118,7 +118,7 @@ abstract class TListControl extends TDataBoundControl
$writer->addAttribute('id',$this->getClientID());
$this->getPage()->getClientScript()->registerPostBackControl('Prado.WebUI.'.get_class($this),$this->getPostBackOptions());
}
- if($this->getEnabled(true) && !$this->getEnabled())
+ if(!$this->getEnabled(true) && $this->getEnabled())
$writer->addAttribute('disabled','disabled');
parent::addAttributesToRender($writer);
}