summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2007-09-29 16:38:10 +0000
committerxue <>2007-09-29 16:38:10 +0000
commit68fff56f6bada30e65e7246c6e942f9dabef1ea1 (patch)
treeecef2d07ac64ed366213d9b900b1062770412fac /framework/Web
parent134bd264482d929de567e45aa684f56e826b7c3f (diff)
Fixed a bug in rendering redundant id.
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/ActiveControls/TActiveCheckBox.php1
-rw-r--r--framework/Web/UI/ActiveControls/TActiveRadioButton.php1
2 files changed, 0 insertions, 2 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveCheckBox.php b/framework/Web/UI/ActiveControls/TActiveCheckBox.php
index 777ff6ad..9aaee115 100644
--- a/framework/Web/UI/ActiveControls/TActiveCheckBox.php
+++ b/framework/Web/UI/ActiveControls/TActiveCheckBox.php
@@ -128,7 +128,6 @@ class TActiveCheckBox extends TCheckBox implements ICallbackEventHandler, IActiv
protected function renderInputTag($writer,$clientID,$onclick)
{
parent::renderInputTag($writer,$clientID,$onclick);
- $writer->addAttribute('id',$this->getClientID());
$this->getActiveControl()->registerCallbackClientScript(
$this->getClientClassName(), $this->getPostBackOptions());
}
diff --git a/framework/Web/UI/ActiveControls/TActiveRadioButton.php b/framework/Web/UI/ActiveControls/TActiveRadioButton.php
index 44b6b7bd..95b2683c 100644
--- a/framework/Web/UI/ActiveControls/TActiveRadioButton.php
+++ b/framework/Web/UI/ActiveControls/TActiveRadioButton.php
@@ -124,7 +124,6 @@ class TActiveRadioButton extends TRadioButton implements IActiveControl, ICallba
protected function renderInputTag($writer,$clientID,$onclick)
{
parent::renderInputTag($writer,$clientID,$onclick);
- $writer->addAttribute('id',$this->getClientID());
$this->getActiveControl()->registerCallbackClientScript(
$this->getClientClassName(), $this->getPostBackOptions());
}