From 948e9616cf35f1b3f831162d007d88940a1e09cb Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Wed, 24 Feb 2016 22:19:17 +0100 Subject: Clear dead code related to HasPriority --- framework/Web/Javascripts/source/prado/activecontrols/ajax3.js | 3 +-- framework/Web/UI/ActiveControls/TCallbackClientSide.php | 7 +++---- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'framework/Web') 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 @@ * * - PostState true to collect the form inputs and post them during callback, default is true. * - RequestTimeOut The request timeout in milliseconds. - * - HasPriority 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. * - EnablePageStateUpdate enable the callback response to enable the - * viewstate update. This will automatically set HasPriority to true when enabled. + * viewstate update. * * @author Wei Zhuo * @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) { -- cgit v1.2.3