From 71ea1bd064dc36004e610fff56a23d09578cd7eb Mon Sep 17 00:00:00 2001 From: wei <> Date: Thu, 2 Feb 2006 07:08:16 +0000 Subject: Fixed #27 --- framework/Web/UI/WebControls/TRadioButton.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/WebControls/TRadioButton.php') 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())!=='') -- cgit v1.2.3