-
16 Apr 2013 1:33 AM #1
add item in the Ext.util.MixedCollection
add item in the Ext.util.MixedCollection
I add new item:
ThenCode:add('itemkey', 12);
I want to change item with key 'itemkey', but it is not happen.Code:add('itemkey', 0)
Then I found the bug in you code (Ext JS 4.2):
obj=0 treated as false...Code:insert : function(index, key, obj) { if (Ext.isIterable(key)) { return this.doInsert(index, key, obj); } return (obj ? this.doInsert(index, [key], [obj]) : this.doInsert(index, [key]))[0]; },
-
16 Apr 2013 3:15 AM #2
Thanks for the post, we already have a ticket open for this: EXTJSIV-9269
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
This issue duplicates another issue.


Reply With Quote