diff options
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r-- | framework/Web/UI/WebControls/TCheckBoxList.php | 10 | ||||
-rw-r--r-- | framework/Web/UI/WebControls/TRadioButtonList.php | 10 |
2 files changed, 2 insertions, 18 deletions
diff --git a/framework/Web/UI/WebControls/TCheckBoxList.php b/framework/Web/UI/WebControls/TCheckBoxList.php index 94278764..af59545c 100644 --- a/framework/Web/UI/WebControls/TCheckBoxList.php +++ b/framework/Web/UI/WebControls/TCheckBoxList.php @@ -72,7 +72,7 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont */ protected function createRepeatedControl() { - return new TCheckBoxItem; + return new TCheckBox; } /** @@ -499,11 +499,3 @@ class TCheckBoxList extends TListControl implements IRepeatInfoUser, INamingCont } -class TCheckBoxItem extends TCheckBox { - /** - * Override client implementation to avoid emitting the javascript - */ - protected function renderClientControlScript($writer) - { - } -} 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) - { - } -} |