Changeset 2441 for trunk/framework/Web
- Timestamp:
- 04/21/2008 02:48:05 AM (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js
r2406 r2441 613 613 if(!this.Enabled) 614 614 return; 615 615 616 // Opera don't have onLoading/onLoaded state, so, simulate them just 617 // before sending the request. 618 if (Prototype.Browser.Opera) 619 { 620 if (this.ActiveControl.onLoading) 621 { 622 this.ActiveControl.onLoading(this,null); 623 Ajax.Responders.dispatch('onLoading',this, this.transport,null); 624 } 625 if (this.ActiveControl.onLoaded) 626 { 627 this.ActiveControl.onLoaded(this,null); 628 Ajax.Responders.dispatch('onLoaded',this, this.transport,null); 629 } 630 } 631 632 var result; 616 633 if(this.ActiveControl.HasPriority) 617 634 { 618 re turnPrado.CallbackRequest.enqueue(this);635 result = Prado.CallbackRequest.enqueue(this); 619 636 //return Prado.CallbackRequest.dispatchPriorityRequest(this); 620 637 } 621 638 else 622 return Prado.CallbackRequest.dispatchNormalRequest(this); 639 result = Prado.CallbackRequest.dispatchNormalRequest(this); 640 641 return result; 623 642 }, 624 643
