summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TRadioButtonList.php
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2014-08-23 16:30:16 +0200
committerFabio Bas <ctrlaltca@gmail.com>2014-08-23 16:30:16 +0200
commitd2e6d38dd71101e67457e8f78c1232c3e0294c27 (patch)
tree652b26f8deffe8a2e1de8ae5203b8e8ec54be942 /framework/Web/UI/WebControls/TRadioButtonList.php
parent57987c93c15da02d6e39ab238f0abc40fe11dc4a (diff)
Revert "Optimization: avoid duplicate creation of T*CheckBoxList, T*RadioButtonList js items"
This reverts commit 606728e5c2fb1dfe2ca2760b9894f5c6d378d9b5.
Diffstat (limited to 'framework/Web/UI/WebControls/TRadioButtonList.php')
-rw-r--r--framework/Web/UI/WebControls/TRadioButtonList.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/framework/Web/UI/WebControls/TRadioButtonList.php b/framework/Web/UI/WebControls/TRadioButtonList.php
index 3afe3ec2..bead3582 100644
--- a/framework/Web/UI/WebControls/TRadioButtonList.php
+++ b/framework/Web/UI/WebControls/TRadioButtonList.php
@@ -47,7 +47,7 @@ class TRadioButtonList extends TCheckBoxList
*/
protected function createRepeatedControl()
{
- return new TRadioButtonItem;
+ return new TRadioButton;
}
/**
@@ -97,11 +97,3 @@ class TRadioButtonList extends TCheckBoxList
}
}
-class TRadioButtonItem extends TRadioButton {
- /**
- * Override client implementation to avoid emitting the javascript
- */
- protected function renderClientControlScript($writer)
- {
- }
-}