Request.Queue stopOnFailure bug #1104

Open
MooKing opened this Issue Feb 25, 2012 · 0 comments

Comments

Projects
None yet
1 participant

MooKing commented Feb 25, 2012

set stopOnFailure = false but although there is a queue does not continue the transfer.

fix:

onFailure: function(){
    this.error = true;
    if (!this.options.stopOnFailure && this.options.autoAdvance) this.runNext();
    this.fireEvent('failure', arguments);
},

replace

onFailure: function(){

    if (!this.options.stopOnFailure && this.options.autoAdvance){ 
    this.error = false;
    this.runNext();
    }
    else
    this.error = true;
    this.fireEvent('failure', arguments);
},

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment