summaryrefslogtreecommitdiff
path: root/framework/Web/UI/TPage.php
diff options
context:
space:
mode:
authorxue <>2006-06-26 02:52:44 +0000
committerxue <>2006-06-26 02:52:44 +0000
commitaac749d4fbfdf3508d97f7dfe4d7c2c03597edbb (patch)
tree54895dbe8d89f9572108f0bc5bdf07160c166e0f /framework/Web/UI/TPage.php
parent7e5dd26cd604318cf4b6d624e8080c801bfb38d0 (diff)
Merge from 3.0 branch till 1202.
Diffstat (limited to 'framework/Web/UI/TPage.php')
-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 57c66a31..8839e6a2 100644
--- a/framework/Web/UI/TPage.php
+++ b/framework/Web/UI/TPage.php
@@ -821,7 +821,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)