diff options
author | xue <> | 2006-03-30 15:27:05 +0000 |
---|---|---|
committer | xue <> | 2006-03-30 15:27:05 +0000 |
commit | 61e3a9ef1e3082a97e2215b31011a52f6edaa45d (patch) | |
tree | 8061f60417dc271c9ddf53b73d82b22323672a57 /framework | |
parent | f33cf3871a9ef0462b72def7170b98b367115a63 (diff) |
Fixed #107
Diffstat (limited to 'framework')
-rw-r--r-- | framework/Web/UI/WebControls/TListControl.php | 2 |
1 files changed, 1 insertions, 1 deletions
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);
}
|