From b796cf4dd89186f1269f80db3073acc07350f6e0 Mon Sep 17 00:00:00 2001 From: xue <> Date: Wed, 21 Jun 2006 23:55:59 +0000 Subject: Fixed #234. --- framework/Web/UI/TPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework/Web/UI/TPage.php') diff --git a/framework/Web/UI/TPage.php b/framework/Web/UI/TPage.php index 3f98b340..804bad43 100644 --- a/framework/Web/UI/TPage.php +++ b/framework/Web/UI/TPage.php @@ -670,7 +670,7 @@ class TPage extends TTemplateControl $this->_controlsPostDataChanged[]=$control; } else if($control instanceof IPostBackEventHandler) - $this->setPostBackEventTarget($control); + $this->_postData->add(self::FIELD_POSTBACK_TARGET,$key); // not calling setPostBackEventTarget() because the control may be removed later unset($this->_controlsRequiringPostData[$key]); } else if($beforeLoad) -- cgit v1.2.3