summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php')
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php10
1 files changed, 6 insertions, 4 deletions
diff --git a/framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php b/framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php
index 8c6732e3..3eadcd29 100644
--- a/framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php
+++ b/framework/Web/UI/ActiveControls/TCallbackClientSideOptions.php
@@ -221,11 +221,12 @@ class TCallbackClientSideOptions extends TClientSideOptions
/**
* @return boolean true if the callback request has priority and will abort
* existing prioritized request in order to send immediately. It does not
- * affect callbacks that are not prioritized.
+ * affect callbacks that are not prioritized. Default is true.
*/
public function getHasPriority()
{
- return $this->getOption('HasPriority');
+ $option = $this->getOption('HasPriority');
+ return is_null($option) ? true : $option;
}
/**
@@ -257,11 +258,12 @@ class TCallbackClientSideOptions extends TClientSideOptions
/**
* @return boolean client-side viewstate will be updated on callback
- * response if true.
+ * response if true. Default is true.
*/
public function getEnablePageStateUpdate()
{
- return $this->getOption('EnablePageStateUpdate');
+ $option = $this->getOption('EnablePageStateUpdate');
+ return is_null($option) ? true : $option;
}
}