diff options
author | wei <> | 2005-12-13 07:08:30 +0000 |
---|---|---|
committer | wei <> | 2005-12-13 07:08:30 +0000 |
commit | 35c7ff28cbc311fba5e394b11fb756a4dc1edcb9 (patch) | |
tree | 1ee39944b4cdba1ecc6aeb2a952139b5a3165f67 /framework/Web/UI/WebControls/TRadioButton.php | |
parent | 2c383b6050b3d8cc6ac7a9442c999cb903af43ab (diff) |
Removed inline javascript from components. Adding TJavascriptLogger and logger.js
Diffstat (limited to 'framework/Web/UI/WebControls/TRadioButton.php')
-rw-r--r-- | framework/Web/UI/WebControls/TRadioButton.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/framework/Web/UI/WebControls/TRadioButton.php b/framework/Web/UI/WebControls/TRadioButton.php index 302d088c..153da8e6 100644 --- a/framework/Web/UI/WebControls/TRadioButton.php +++ b/framework/Web/UI/WebControls/TRadioButton.php @@ -153,21 +153,6 @@ class TRadioButton extends TCheckBox if(!$this->getEnabled(true))
$writer->addAttribute('disabled','disabled');
$page=$this->getPage();
- if($this->getAutoPostBack() && $page->getClientSupportsJavaScript())
- {
- $option=new TPostBackOptions();
- if($this->getCausesValidation() && $page->getValidators($this->getValidationGroup())->getCount())
- {
- $option->setPerformValidation(true);
- $option->setValidationGroup($this->getValidationGroup());
- }
- $option->setAutoPostBack(true);
- if(!empty($onclick))
- $onclick=THttpUtility::trimJavaScriptString($onclick);
- $onclick.=$page->getClientScript()->getPostBackEventReference($this,'',$option,false);
- }
- if(!empty($onclick))
- $writer->addAttribute('onclick',$onclick);
if(($accesskey=$this->getAccessKey())!=='')
$writer->addAttribute('accesskey',$accesskey);
if(($tabindex=$this->getTabIndex())>0)
|