projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5354442
)
Roo/form/ComboBoxArray.js
author
Michael
<michael@roojs.com>
Sun, 8 Mar 2015 08:07:51 +0000
(16:07 +0800)
committer
Michael
<michael@roojs.com>
Sun, 8 Mar 2015 08:07:51 +0000
(16:07 +0800)
Roo/form/ComboBoxArray.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboBoxArray.js
b/Roo/form/ComboBoxArray.js
index
fd2acd0
..
c6051e8
100644
(file)
--- a/
Roo/form/ComboBoxArray.js
+++ b/
Roo/form/ComboBoxArray.js
@@
-308,7
+308,7
@@
Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField,
}, this)
}
}, this)
}
- if (typeof(v) == '
string
' ) {
+ if (typeof(v) == '
object
' ) {
// then let's assume it's an array of objects..
Roo.each(v, function(l) {
this.addItem(l);
// then let's assume it's an array of objects..
Roo.each(v, function(l) {
this.addItem(l);