projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a2bed3
)
Roo/util/MixedCollection.js
author
edward
<edward@roojs.com>
Mon, 9 Nov 2015 07:59:59 +0000
(15:59 +0800)
committer
edward
<edward@roojs.com>
Mon, 9 Nov 2015 07:59:59 +0000
(15:59 +0800)
Roo/util/MixedCollection.js
patch
|
blob
|
history
diff --git
a/Roo/util/MixedCollection.js
b/Roo/util/MixedCollection.js
index
60204ea
..
be516b4
100644
(file)
--- a/
Roo/util/MixedCollection.js
+++ b/
Roo/util/MixedCollection.js
@@
-395,7
+395,7
@@
mc.add(otherEl);
var c = [], k = this.keys, items = this.items;
for(var i = 0, len = items.length; i < len; i++){
Roo.log(items[i]);
- var v = typeof(items[i]
.data[property]) == 'undefined' ? items[i] : items[i].data
[property];
+ var v = typeof(items[i]
['data'][property]) == 'undefined' ? items[i] : items[i]['data']
[property];
c[c.length] = {key: k[i], value: v, index: i};
}
c.sort(function(a, b){