Is the waitForStoresToLoad function meant to automatically load the stores sent into it? .. It does that. I don't want that..
I would see it more useful to use for watching a store and then let the callback run whenever its loaded. Loading called from elsewhere in the code.
btw. This testing suite ROCKS!!!!
Support Forum
already fixed, next version will have:
/**
* Waits until all the passed stores have been loaded, but also calls load on each store. This method accepts any number of stores, followed by a callback function.
* @param {Ext.data.AbstractStore} store1 The store to load.
* @param {Function} callback A function to call when the condition has been met.
*/
loadStoresAndThen: function () {
},
**
* Waits until all the passed stores have been loaded. This method accepts any number of stores, followed by a callback function.
* @param {Ext.data.AbstractStore} store1 The store to load.
* @param {Function} callback A function to call when the condition has been met.
*/
waitForStoresToLoad: function () {
}