From d2e6d38dd71101e67457e8f78c1232c3e0294c27 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Sat, 23 Aug 2014 16:30:16 +0200 Subject: Revert "Optimization: avoid duplicate creation of T*CheckBoxList, T*RadioButtonList js items" This reverts commit 606728e5c2fb1dfe2ca2760b9894f5c6d378d9b5. --- framework/Web/UI/WebControls/TCheckBoxList.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'framework/Web/UI/WebControls/TCheckBoxList.php') 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) - { - } -} -- cgit v1.2.3