summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TRadioButton.php
diff options
context:
space:
mode:
authorwei <>2006-02-02 07:08:16 +0000
committerwei <>2006-02-02 07:08:16 +0000
commit71ea1bd064dc36004e610fff56a23d09578cd7eb (patch)
tree5cedacd6f906d3f0eaefe1ec98c5151ab23eb8c3 /framework/Web/UI/WebControls/TRadioButton.php
parentb2fba25e4b146c4896304377643e498a22a3ced0 (diff)
Fixed #27
Diffstat (limited to 'framework/Web/UI/WebControls/TRadioButton.php')
-rw-r--r--framework/Web/UI/WebControls/TRadioButton.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TRadioButton.php b/framework/Web/UI/WebControls/TRadioButton.php
index a345f060..cb0454ae 100644
--- a/framework/Web/UI/WebControls/TRadioButton.php
+++ b/framework/Web/UI/WebControls/TRadioButton.php
@@ -145,7 +145,7 @@ class TRadioButton extends TCheckBox
$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())!=='')