summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2006-02-05 04:54:14 +0000
committerxue <>2006-02-05 04:54:14 +0000
commitec7a31cfd6c72aa8ed055504b381edee6c547186 (patch)
treedd3a6b352cfed86e17b2adb58bcb2c62d2c5e770 /framework/Web
parent89d8173ade1422aa99fb4f174a2c2ff014d1d3c3 (diff)
Makes TCheckBox xhtml-compliant when Enabled is false.
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/WebControls/TCheckBox.php5
1 files changed, 0 insertions, 5 deletions
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);