drumforhim
1 Nov 2012, 4:40 AM
I have a function that cleans up my form stores
nothing fancy...
cleanUpStores : function(stores,del)
{
if(stores)
{
for(var i=0;i<stores.length;i++)
{
Ext.StoreManager.lookup(stores[i]).removeAll();
if(del)
Ext.StoreManager.unregister(stores[i]);
}
}
},
i my case i don't use unregister because i'm passing the del parametre as false.
i get the following error in IE8 & 7 only,
Unable to get value of the property 'isStore': object is null or undefined
is there an update. i'm using ext.js 4.1.1 .
regards!
nothing fancy...
cleanUpStores : function(stores,del)
{
if(stores)
{
for(var i=0;i<stores.length;i++)
{
Ext.StoreManager.lookup(stores[i]).removeAll();
if(del)
Ext.StoreManager.unregister(stores[i]);
}
}
},
i my case i don't use unregister because i'm passing the del parametre as false.
i get the following error in IE8 & 7 only,
Unable to get value of the property 'isStore': object is null or undefined
is there an update. i'm using ext.js 4.1.1 .
regards!