Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    4
    Vote Rating
    0
    platinas is on a distinguished road

      0  

    Default [FIXED][PR4] Ext.direct.RemotingProvider callback does not work

    [FIXED][PR4] Ext.direct.RemotingProvider callback does not work


    Uncaught ReferenceError: fn is not defined
    Code:
    /**
         * Run any callbacks related to the transaction.
         * @private
         * @param {Ext.direct.Transaction} transaction The transaction
         * @param {Ext.direct.Event} event The event
         */
        runCallback: function(transaction, event){
            var funcName = event.status ? 'success' : 'failure',
                callback,
                result;
            
            if (transaction && transaction.callback) {
                callback = transaction.callback;
                result = Ext.isDefined(event.result) ? event.result : event.data;
            
                if (Ext.isFunction(callback)) {
                    callback(result, event);
                } else {
                    Ext.callback(callback[fn], callback.scope, [result, e]);
                    Ext.callback(callback.callback, callback.scope, [result, e]);
                }
            }
        }
    so funcName is used as the variable for function name but fn is used later

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,833
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    I was quite literally just fixing this as I saw your post. Weird!

    Thanks for the report.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    4
    Vote Rating
    0
    dmsilva is on a distinguished road

      0  

    Default


    Could you take a look on this thread?

    http://www.sencha.com/forum/showthre...error-callback

    Thanks,

    Daniel

Similar Threads

  1. Direct method callback scope
    By kodomo in forum Ext.Direct
    Replies: 2
    Last Post: 20 Oct 2010, 5:57 AM
  2. Replies: 1
    Last Post: 4 Jan 2010, 6:30 AM
  3. Direct Method not firing callback.
    By colin.jones in forum Ext.Direct
    Replies: 1
    Last Post: 2 Oct 2009, 3:08 AM

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi