diff options
author | tof <> | 2008-04-21 07:48:05 +0000 |
---|---|---|
committer | tof <> | 2008-04-21 07:48:05 +0000 |
commit | 5b04db7e35212829257cd679eb66c3bf138d72db (patch) | |
tree | 9d74df873df1892cb118f077e8a44493afa03b80 | |
parent | 60a4991e9bd37457cafc6f3a19fd83f8c71ef3b0 (diff) |
Fixed #718
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | framework/Web/Javascripts/source/prado/activecontrols/ajax3.js | 25 |
2 files changed, 23 insertions, 3 deletions
@@ -8,6 +8,7 @@ BUG: Ticket#671 - TActiveCustomValidator Callback Problem (Christophe) BUG: Ticket#679 - TActiveLabel can't be shown from inside TRepeater. TActiveRadioButton cant be unchecked (Christophe) BUG: Ticket#695 - ActiveTextBox filled in IE blocks other elements (Michael) BUG: Ticket#707 - TPropertyAccess sets property twice on object when using setters (Qiang) +BUG: Ticket#718 - prop:ClientSide OnLoading don't work in Opera (Christophe) BUG: Ticket#719 - TAutoCompleter should not trigger Validation if CausesValidation=False (Christophe) BUG: Ticket#721 - TActiveCustomValidator + TValidationSummary problem (Christophe) BUG: Ticket#736 - Files never created in clientscript.php (Qiang) diff --git a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js index 001007d7..18cbb3f9 100644 --- a/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js +++ b/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js @@ -612,14 +612,33 @@ Prado.CallbackRequest.prototype = Object.extend(Prado.AjaxRequest.prototype, if(!this.Enabled)
return;
-
+
+ // Opera don't have onLoading/onLoaded state, so, simulate them just
+ // before sending the request.
+ if (Prototype.Browser.Opera)
+ {
+ if (this.ActiveControl.onLoading)
+ {
+ this.ActiveControl.onLoading(this,null);
+ Ajax.Responders.dispatch('onLoading',this, this.transport,null);
+ }
+ if (this.ActiveControl.onLoaded)
+ {
+ this.ActiveControl.onLoaded(this,null);
+ Ajax.Responders.dispatch('onLoaded',this, this.transport,null);
+ }
+ }
+
+ var result;
if(this.ActiveControl.HasPriority)
{
- return Prado.CallbackRequest.enqueue(this);
+ result = Prado.CallbackRequest.enqueue(this);
//return Prado.CallbackRequest.dispatchPriorityRequest(this);
}
else
- return Prado.CallbackRequest.dispatchNormalRequest(this);
+ result = Prado.CallbackRequest.dispatchNormalRequest(this);
+
+ return result;
},
abort : function()
|