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