summaryrefslogtreecommitdiff
path: root/framework/Web
diff options
context:
space:
mode:
authorFabio Bas <ctrlaltca@gmail.com>2016-02-24 22:19:17 +0100
committerFabio Bas <ctrlaltca@gmail.com>2016-02-24 22:19:17 +0100
commit948e9616cf35f1b3f831162d007d88940a1e09cb (patch)
treee94415fdd22cf346e1e481da1c3373bad1a728d8 /framework/Web
parent9429198310b54a3cf1eefe81a1e1964fb9b8274b (diff)
Clear dead code related to HasPriority
Diffstat (limited to 'framework/Web')
-rw-r--r--framework/Web/Javascripts/source/prado/activecontrols/ajax3.js3
-rw-r--r--framework/Web/UI/ActiveControls/TCallbackClientSide.php7
2 files changed, 4 insertions, 6 deletions
diff --git a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
index 79e7e42d..1115c3b2 100644
--- a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
+++ b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
@@ -450,8 +450,7 @@ Prado.CallbackRequest = jQuery.klass(Prado.PostBack,
},
/**
- * Updates the page state. It will update only if EnablePageStateUpdate and
- * HasPriority options are both true.
+ * Updates the page state. It will update only if EnablePageStateUpdate is true.
*/
updatePageState : function(request, datain)
{
diff --git a/framework/Web/UI/ActiveControls/TCallbackClientSide.php b/framework/Web/UI/ActiveControls/TCallbackClientSide.php
index 874aeb4e..f3877e50 100644
--- a/framework/Web/UI/ActiveControls/TCallbackClientSide.php
+++ b/framework/Web/UI/ActiveControls/TCallbackClientSide.php
@@ -38,11 +38,8 @@
*
* - <b>PostState</b> true to collect the form inputs and post them during callback, default is true.
* - <b>RequestTimeOut</b> The request timeout in milliseconds.
- * - <b>HasPriority</b> true to ensure that the callback request will be sent
- * immediately and will abort existing prioritized requests. It does not affect
- * callbacks that are not prioritized.
* - <b>EnablePageStateUpdate</b> enable the callback response to enable the
- * viewstate update. This will automatically set HasPriority to true when enabled.
+ * viewstate update.
*
* @author Wei Zhuo <weizhuo[at]gamil[dot]com>
* @package System.Web.UI.ActiveControls
@@ -239,6 +236,7 @@ class TCallbackClientSide 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. Default is true.
+ * @deprecated since 3.3.0
*/
public function getHasPriority()
{
@@ -250,6 +248,7 @@ class TCallbackClientSide extends TClientSideOptions
* @param boolean true to ensure that the callback request will be sent
* immediately and will abort existing prioritized requests. It does not
* affect callbacks that are not prioritized.
+ * @deprecated since 3.3.0
*/
public function setHasPriority($value)
{