1. #1
    Sencha User
    Join Date
    Jun 2009
    Posts
    41
    Answers
    3
    Vote Rating
    0
    minamu1 is on a distinguished road

      0  

    Default Unanswered: Abort store load with ajax/json

    Unanswered: Abort store load with ajax/json


    How can I abort a store load while the ajax call is still executing? I have a simple store with proxy type of 'ajax' and 'json' reader.

    The documentation does not indicate any way to abort this. I have noticed that jsonp does allow aborting a load in progress. Do I have to switch to jsonp?

    The motivation here is that I have a search bar and list object that gets populated with results. The actual search on the backend can take 5-10 seconds. So if a user starts a search then quickly wants to do another search (in case, for example, the first search was a typo), then the new search needs to abort the first search ajax call. Otherwise, I am seeing mixed results showing up in my search results.

    As usual, any help is greatly appreciated!

    Mohammad

  2. #2
    Sencha User
    Join Date
    Jun 2009
    Posts
    41
    Answers
    3
    Vote Rating
    0
    minamu1 is on a distinguished road

      0  

    Default Found answer.

    Found answer.


    I guess I had not searched the forum hard enough. Found the answer here.

    http://www.sencha.com/forum/showthread.php?232899

Tags for this Thread

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..."