In NestedList, in the function updateStore, we see this code:

Code:
        if (newStore) {
            me.goToNode(newStore.getRoot());
            newStore.on(listeners);
        }
The line me.goToNode(..) indirectly causes the store's 'load' to be called. However, since the listeners aren't set up yet, we don't see the loading mask.

Is this a bug (i.e. should those two lines be reversed) or is it deliberate? If it's deliberate, then what is the purpose of only setting up the listeners after?

Thanks!