diff options
author | wei <> | 2006-02-02 07:08:16 +0000 |
---|---|---|
committer | wei <> | 2006-02-02 07:08:16 +0000 |
commit | 71ea1bd064dc36004e610fff56a23d09578cd7eb (patch) | |
tree | 5cedacd6f906d3f0eaefe1ec98c5151ab23eb8c3 /framework/Web/UI/WebControls/TCheckBox.php | |
parent | b2fba25e4b146c4896304377643e498a22a3ced0 (diff) |
Fixed #27
Diffstat (limited to 'framework/Web/UI/WebControls/TCheckBox.php')
-rw-r--r-- | framework/Web/UI/WebControls/TCheckBox.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TCheckBox.php b/framework/Web/UI/WebControls/TCheckBox.php index 0a628674..bc90a93b 100644 --- a/framework/Web/UI/WebControls/TCheckBox.php +++ b/framework/Web/UI/WebControls/TCheckBox.php @@ -356,7 +356,7 @@ class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatabl $writer->addAttribute('disabled','disabled');
$page=$this->getPage();
- if($this->getAutoPostBack() && $page->getClientSupportsJavaScript())
+ if($this->getEnabled(true) && $this->getAutoPostBack() && $page->getClientSupportsJavaScript())
$page->getClientScript()->registerPostBackControl($this);
if(($accesskey=$this->getAccessKey())!=='')
|