summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TTextBox.php
diff options
context:
space:
mode:
authorxue <>2005-12-04 04:25:45 +0000
committerxue <>2005-12-04 04:25:45 +0000
commit0dda82c2a13ed09a2520dda9b420e8f90703c67b (patch)
tree27815328ce64437ff5e34cb163557d365b316abc /framework/Web/UI/WebControls/TTextBox.php
parent3ea63072225a473239227facfabde294bb58ed1d (diff)
Diffstat (limited to 'framework/Web/UI/WebControls/TTextBox.php')
-rw-r--r--framework/Web/UI/WebControls/TTextBox.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/framework/Web/UI/WebControls/TTextBox.php b/framework/Web/UI/WebControls/TTextBox.php
index 5e57e240..bfd7c029 100644
--- a/framework/Web/UI/WebControls/TTextBox.php
+++ b/framework/Web/UI/WebControls/TTextBox.php
@@ -224,15 +224,14 @@ class TTextBox extends TWebControl implements IPostBackDataHandler, IValidatable
public function raisePostDataChangedEvent()
{
$page=$this->getPage();
- if($this->getAutoPostBack() && !$page->getIsPostBackEventControlRegistered())
+ if($this->getAutoPostBack() && !$page->getPostBackEventTarget())
{
- $page->setAutoPostBackControl($this);
+ $page->setPostBackEventTarget($this);
if($this->getCausesValidation())
$page->validate($this->getValidationGroup());
}
$this->onTextChanged(new TEventParameter);
}
-
/**
* Renders the body content of the textbox when it is in MultiLine text mode.
* @param THtmlWriter the writer for rendering