Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha - Community Support Team SamuraiJack1's Avatar
    Join Date
    May 2008
    Posts
    550
    Vote Rating
    3
    SamuraiJack1 will become famous soon enough

      0  

    Default [4.1.0-B3] Ext.AbstractView no longer binds its store to load mask

    [4.1.0-B3] Ext.AbstractView no longer binds its store to load mask


    Looks like along the way to 4.1.0 some code pieces from 4.0.7 were lost.

    For example Ext.view.AbstractView no longer performs binding of its store to its load mask.

    Relevant part of code from 4.0.7 codebase (highlighted):

    Code:
        bindStore : function(store, initial) {
            var me = this,
                maskStore;
    
            if (!initial && me.store) {
                if (store !== me.store && me.store.autoDestroy) {
                    me.store.destroyStore();
                }
                else {
                    me.mun(me.store, {
                        scope: me,
                        datachanged: me.onDataChanged,
                        add: me.onAdd,
                        remove: me.onRemove,
                        update: me.onUpdate,
                        clear: me.refresh
                    });
                }
                if (!store) {
                    // Ensure we have an instantiated LoadMask before we unbind it.
                    if (me.loadMask && me.loadMask.bindStore) {
                        me.loadMask.bindStore(null);
                    }
                    me.store = null;
                }
            }
            if (store) {
                store = Ext.data.StoreManager.lookup(store);
                me.mon(store, {
                    scope: me,
                    datachanged: me.onDataChanged,
                    add: me.onAdd,
                    remove: me.onRemove,
                    update: me.onUpdate,
                    clear: me.refresh
                });
                // Ensure we have an instantiated LoadMask before we bind it.
                if (me.loadMask && me.loadMask.bindStore) {
                    // View's store is a NodeStore, use owning TreePanel's Store
                    if (Ext.Array.contains(store.alias, 'store.node')) {
                        maskStore = this.ownerCt.store;
                    } else {
                        maskStore = store;
                    }
                    me.loadMask.bindStore(maskStore);
                }
            }
    
            .....
        },
    Same method in the 4.1.0-B3:

    Code:
        bindStore : function(store, initial) {
            var me = this;
            me.mixins.bindable.bindStore.apply(me, arguments);
            // Bind the store to our selection model
            me.getSelectionModel().bindStore(me.store);
    
            // 4.1.0: Always refresh regardless of record count.
            // Template may contain boilerplate HTML outside of record iteration loop.
            // Also, emptyText is appended by the refresh method.
            // We call refresh on a defer if this is the initial call, and we are configured to defer the initial refresh.
            if (store) {
                if (initial && me.deferInitialRefresh) {
                    Ext.Function.defer(function () {
                        if (!me.isDestroyed) {
                            me.refresh(true);
                        }
                    }, 1);
                } else {
                    me.refresh(true);
                }
            }
        },
    As the result load mask never knows that store its bounded to is loading.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,756
    Vote Rating
    828
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

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