summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--framework/Web/UI/TPage.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index f1c48ae8..bbcc1de0 100644
--- a/HISTORY
+++ b/HISTORY
@@ -3,6 +3,7 @@ Version 3.0.2 July 2, 2006
BUG: Ticket#182 - List and validator controls cause problem in child classes (Qiang)
BUG: Ticket#191 - Duplicated postbacks occur when using TButton with validators (Qiang)
BUG: Ticket#213 - PRADO Requirements Checker charset error (Qiang)
+BUG: Ticket#234 - Postback target could be out of date (Qiang)
BUG: Ticket#244 - redirect() needs absolute URL (Qiang)
BUG: Ticket#245 - getIsSecureConnection() is not working correctly (Qiang)
CHG: ensureChildControls() is now invoked in TControl::initRecursive (Qiang)
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)