diff options
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())!=='')
  | 
