1. #1
    Sencha User
    Join Date
    Jun 2012
    Posts
    11
    Vote Rating
    0
    vp2 is on a distinguished road

      0  

    Default abort all the pending request. <Urgent>

    abort all the pending request. <Urgent>


    Hi, Is there a way to abort all the pending request?

    I have tried the abort Ext.Ajax.abortAll(); but it doesn't seems to be working.

    I also tried running the same command from the chrome command prompt and it says "undefined".

    Is there any other way of doing so?

    --Thanks
    VP.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,190
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    Yes, that will abort all pending Ajax requests.

    You could possibly have some Ext.data.Connections laying around that aren't aborted?
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    11
    Vote Rating
    0
    vp2 is on a distinguished road

      0  

    Default


    Well, Unfortunately it doesn't do so.

    Can Store.suspendEvents() would help in this regard?

    --Thanks,
    VP

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    8,190
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


    suspendEvents would just stop firing events.

    Could you provide a small example that illustrates the problem?
    Aaron Conran
    @aconran
    Sencha Architect Development Team