projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
003e1af
)
Roo/bootstrap/ComboBox.js
author
edward
<edward@roojs.com>
Fri, 15 Jan 2016 05:07:21 +0000
(13:07 +0800)
committer
edward
<edward@roojs.com>
Fri, 15 Jan 2016 05:07:21 +0000
(13:07 +0800)
Roo/bootstrap/ComboBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/ComboBox.js
b/Roo/bootstrap/ComboBox.js
index
c05558d
..
e2bd238
100644
(file)
--- a/
Roo/bootstrap/ComboBox.js
+++ b/
Roo/bootstrap/ComboBox.js
@@
-2237,6
+2237,10
@@
Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
row.select('.roo-combobox-list-group-item-value', true).first().dom.innerHTML = d.data[this.displayField];
}
+ if(this.valueField && typeof(d.data[this.valueField]) != 'undefined' && d.data[this.valueField] == value){
+ row.select('.roo-combobox-list-group-item-box > input', true).first().attr('checked', true);
+ }
+
row.on('click', _this.onTouchViewClick, _this, {row : row, rowIndex : rowIndex});
}, this);