summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
authorxue <>2005-12-10 02:55:42 +0000
committerxue <>2005-12-10 02:55:42 +0000
commita7659660330dd097e66e012f3325bd9d5e9db56a (patch)
tree40d4b4bdcc52eedb48756f3f97228582900198b4 /framework/Web/UI/WebControls
parent1f1f96b7e143973e7da69fc01ebd6721f62e291c (diff)
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r--framework/Web/UI/WebControls/TCheckBox.php2
-rw-r--r--framework/Web/UI/WebControls/TImageButton.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TCheckBox.php b/framework/Web/UI/WebControls/TCheckBox.php
index c5bd88d7..caaafa78 100644
--- a/framework/Web/UI/WebControls/TCheckBox.php
+++ b/framework/Web/UI/WebControls/TCheckBox.php
@@ -115,7 +115,7 @@ class TCheckBox extends TWebControl implements IPostBackDataHandler, IValidatabl
{
parent::onPreRender($param);
if($this->getEnabled(true))
- $this->getPage()->registerRequiresPostBack($this);
+ $this->getPage()->registerRequiresPostData($this);
}
/**
diff --git a/framework/Web/UI/WebControls/TImageButton.php b/framework/Web/UI/WebControls/TImageButton.php
index 33dfde75..96fbff67 100644
--- a/framework/Web/UI/WebControls/TImageButton.php
+++ b/framework/Web/UI/WebControls/TImageButton.php
@@ -321,7 +321,7 @@ class TImageButton extends TImage implements IPostBackDataHandler, IPostBackEven
protected function onPreRender($param)
{
parent::onPreRender($param);
- $this->getPage()->registerRequiresPostBack($this);
+ $this->getPage()->registerRequiresPostData($this);
}
}