summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorxue <>2006-06-21 23:55:59 +0000
committerxue <>2006-06-21 23:55:59 +0000
commitb796cf4dd89186f1269f80db3073acc07350f6e0 (patch)
tree55de0ced68d53237cc6310d6c51b83219a18d93f /framework/Web
parent9ac994bb7c2a30c62f08ce005179b0eb0b11ee0a (diff)
Fixed #234.
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/UI/TPage.php2
1 files changed, 1 insertions, 1 deletions
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)