projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de8d179
)
Roo/util/MixedCollection.js
author
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 09:44:55 +0000
(17:44 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 09:44:55 +0000
(17:44 +0800)
Roo/util/MixedCollection.js
patch
|
blob
|
history
diff --git
a/Roo/util/MixedCollection.js
b/Roo/util/MixedCollection.js
index
1ae3dda
..
f1f98cb
100644
(file)
--- a/
Roo/util/MixedCollection.js
+++ b/
Roo/util/MixedCollection.js
@@
-307,7
+307,9
@@
mc.add(otherEl);
indexOfKey : function(key){
if(!this.keys.indexOf){
for(var i = 0, len = this.keys.length; i < len; i++){
- if(this.keys[i] == key) return i;
+ if(this.keys[i] == key) {
+ return i;
+ }
}
return -1;
}else{