aflx
22 Jan 2012, 9:21 AM
Hi,
I have noticed, that the "datachanged" event is triggered twice, when I call add on a store.
The first one is fired in Ext.data.Store.insert() when inserting the new object and the second is fired in Ext.data.AbstractStore.onProxyWrite().
So, is this the right behavior or should this event just fire once (I think so)!?
In Sencha Touch 1 this bug was reported: http://www.sencha.com/forum/showthread.php?103241-FIXED-189-Store-datachanged-even-firing-twice
Best regards,
Alex
I have noticed, that the "datachanged" event is triggered twice, when I call add on a store.
The first one is fired in Ext.data.Store.insert() when inserting the new object and the second is fired in Ext.data.AbstractStore.onProxyWrite().
So, is this the right behavior or should this event just fire once (I think so)!?
In Sencha Touch 1 this bug was reported: http://www.sencha.com/forum/showthread.php?103241-FIXED-189-Store-datachanged-even-firing-twice
Best regards,
Alex