summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
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);
}
}