summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TActiveHiddenField.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/ActiveControls/TActiveHiddenField.php')
-rw-r--r--framework/Web/UI/ActiveControls/TActiveHiddenField.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/Web/UI/ActiveControls/TActiveHiddenField.php b/framework/Web/UI/ActiveControls/TActiveHiddenField.php
index f87ff078..e0393370 100644
--- a/framework/Web/UI/ActiveControls/TActiveHiddenField.php
+++ b/framework/Web/UI/ActiveControls/TActiveHiddenField.php
@@ -55,6 +55,9 @@ class TActiveHiddenField extends THiddenField implements ICallbackEventHandler,
*/
public function setValue($value)
{
+ if(parent::getValue() === $value)
+ return;
+
parent::setValue($value);
if($this->getActiveControl()->canUpdateClientSide() && $this->getHasLoadedPostData())
$this->getPage()->getCallbackClient()->setValue($this, $value);