projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d0a4f83
)
Roo/form/ComboBoxArray.js
author
Alan Knowles
<alan@roojs.com>
Wed, 2 May 2012 06:11:01 +0000
(14:11 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 2 May 2012 06:11:01 +0000
(14:11 +0800)
Roo/form/ComboBoxArray.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboBoxArray.js
b/Roo/form/ComboBoxArray.js
index
1f013e0
..
ee802ff
100644
(file)
--- a/
Roo/form/ComboBoxArray.js
+++ b/
Roo/form/ComboBoxArray.js
@@
-275,14
+275,14
@@
Roo.extend(Roo.form.ComboBoxArray, Roo.form.TextField,
this.hiddenEl.value = v;
var v_ar = [];
Roo.each(v.split(','), function(k) {
this.hiddenEl.value = v;
var v_ar = [];
Roo.each(v.split(','), function(k) {
- Roo.log("CHECK " + this.
store.
valueField + ',' + k);
- var li = this.store.query(this.
store.
valueField, k);
+ Roo.log("CHECK " + this.valueField + ',' + k);
+ var li = this.store.query(this.valueField, k);
if (!li.length) {
return;
}
add = {};
if (!li.length) {
return;
}
add = {};
- add[this.
store.
valueField] = k;
- add[this.
store.displayField] = li.item(0).data[this.store
.displayField];
+ add[this.valueField] = k;
+ add[this.
displayField] = li.item(0).data[this
.displayField];
this.addItem(add);
}, this)
this.addItem(add);
}, this)