Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-9630 in a recent build.
  1. #1
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    974
    Vote Rating
    110
    Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all Daniil is a name known to all

      0  

    Default [4.2.1 beta] Should not Ext.destroy support destroying stores?

    [4.2.1 beta] Should not Ext.destroy support destroying stores?


    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.2.1 beta
    Browser versions tested against:
    • Any
    DOCTYPE tested against:
    • Any
    Description:
    • Should not Ext.destroy support destroying stores? Currently, it just calls a Store's "destroy" CRUD action. It is all due to the fact that actual destroying method has been renamed to "destroyStore" since ExtJS 3.
    Steps to reproduce the problem:
    • Just run the script
    The result that was expected:
    • The store is buried
    The result that occurs instead:
    • The store lives and makes its "destroy" CRUD action
    Test Case:

    Code:
    var store = Ext.create("Ext.data.Store", {
        fields: [],
        proxy: {
            type: "ajax",
            url: "some URL"
        }
    })
    
    Ext.destroy(store)

    HELPFUL INFORMATION

    Possible fix:


    Code:
    Ext.destroy = function () {
        var ln = arguments.length,
            i, arg;
    
        for (i = 0; i < ln; i++) {
            arg = arguments[i];
            if (arg) {
                if (Ext.isArray(arg)) {
                    this.destroy.apply(this, arg);
                } else if (Ext.isFunction(arg.destroyStore)) {
                    arg.destroyStore();
                } else if (Ext.isFunction(arg.destroy)) {
                    arg.destroy();
                } else if (arg.dom) {
                    arg.remove();
                }
            }
        }
    };
    Ext.NET - ASP.NET for Ext JS
    MVC and WebForms
    Examples | Twitter

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,913
    Vote Rating
    179
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    Thanks for the report! I have opened a bug in our bug tracker.

Thread Participants: 1

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