From ec7a31cfd6c72aa8ed055504b381edee6c547186 Mon Sep 17 00:00:00 2001 From: xue <> Date: Sun, 5 Feb 2006 04:54:14 +0000 Subject: Makes TCheckBox xhtml-compliant when Enabled is false. --- framework/Web/UI/WebControls/TCheckBox.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'framework/Web/UI/WebControls/TCheckBox.php') diff --git a/framework/Web/UI/WebControls/TCheckBox.php b/framework/Web/UI/WebControls/TCheckBox.php index bc90a93b..4022d1c6 100644 --- a/framework/Web/UI/WebControls/TCheckBox.php +++ b/framework/Web/UI/WebControls/TCheckBox.php @@ -232,11 +232,6 @@ class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatabl $this->getStyle()->addAttributesToRender($writer); $needSpan=true; } - if(!$this->getEnabled(true)) - { - $writer->addAttribute('disabled','disabled'); - $needSpan=true; - } if(($tooltip=$this->getToolTip())!=='') { $writer->addAttribute('title',$tooltip); -- cgit v1.2.3