From 4f968c045e0d09ab3e4f659743effb5305a963ce Mon Sep 17 00:00:00 2001 From: wei <> Date: Fri, 30 Mar 2007 05:04:30 +0000 Subject: Fixed #507 and update other active controls. --- framework/Web/UI/ActiveControls/TActiveCheckBoxList.php | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'framework/Web/UI/ActiveControls/TActiveCheckBoxList.php') diff --git a/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php b/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php index 09ad9236..0b86f4bf 100644 --- a/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php +++ b/framework/Web/UI/ActiveControls/TActiveCheckBoxList.php @@ -65,20 +65,11 @@ class TActiveCheckBoxList extends TCheckBoxList implements IActiveControl, ICall } /** - * @return string javascript client-side control class name. - */ - protected function getClientClassName() - { - return 'Prado.WebUI.TActiveCheckBoxList'; - } - - /** - * Registers the javascript code for initializing the active control. + * Override parent implementation, no javascript is rendered here instead + * the javascript required for active control is registered in {@link addAttributesToRender}. */ protected function renderClientControlScript($writer) { - $this->getActiveControl()->registerCallbackClientScript( - $this->getClientClassName(), $this->getPostBackOptions()); } /** -- cgit v1.2.3