Changeset 2441

Show
Ignore:
Timestamp:
04/21/2008 02:48:05 AM
Author:
tof
Message:

Fixed #718

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/HISTORY

    r2440 r2441  
    99BUG: Ticket#695 - ActiveTextBox filled in IE blocks other elements (Michael) 
    1010BUG: Ticket#707 - TPropertyAccess sets property twice on object when using setters (Qiang) 
     11BUG: Ticket#718 - prop:ClientSide OnLoading don't work in Opera (Christophe) 
    1112BUG: Ticket#719 - TAutoCompleter should not trigger Validation if CausesValidation=False (Christophe) 
    1213BUG: Ticket#721 - TActiveCustomValidator + TValidationSummary problem (Christophe) 
  • trunk/framework/Web/Javascripts/source/prado/activecontrols/ajax3.js

    r2406 r2441  
    613613                if(!this.Enabled) 
    614614                        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; 
    616633                if(this.ActiveControl.HasPriority) 
    617634                { 
    618                         return Prado.CallbackRequest.enqueue(this); 
     635                        result = Prado.CallbackRequest.enqueue(this); 
    619636                        //return Prado.CallbackRequest.dispatchPriorityRequest(this); 
    620637                } 
    621638                else 
    622                         return Prado.CallbackRequest.dispatchNormalRequest(this); 
     639                        result =  Prado.CallbackRequest.dispatchNormalRequest(this); 
     640                 
     641                return result; 
    623642        }, 
    624643