projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e375273
)
Roo/form/ComboBoxArray.js
author
Alan Knowles
<alan@roojs.com>
Tue, 12 Jun 2012 09:55:21 +0000
(17:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Tue, 12 Jun 2012 09:55:21 +0000
(17:55 +0800)
Roo/form/ComboBoxArray.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboBoxArray.js
b/Roo/form/ComboBoxArray.js
index
256d32b
..
023822d
100644
(file)
--- a/
Roo/form/ComboBoxArray.js
+++ b/
Roo/form/ComboBoxArray.js
@@
-301,7
+301,7
@@
Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField,
this.reset();
this.el.dom.value = v[this.displayField];
this.hiddenEl.dom.value = v[this.valueField];
this.reset();
this.el.dom.value = v[this.displayField];
this.hiddenEl.dom.value = v[this.valueField];
- if (typeof(v[this.valueField]
.) == 'undefined
' || !v[this.valueField].length) {
+ if (typeof(v[this.valueField]
) != 'string
' || !v[this.valueField].length) {
return;
}
var keys = v[this.valueField].split(',');
return;
}
var keys = v[this.valueField].split(',');