diff options
Diffstat (limited to 'framework/Web/UI/TPage.php')
-rw-r--r-- | framework/Web/UI/TPage.php | 2 |
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)
|