projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
118c00c
)
Roo/bootstrap/ComboBox.js
author
Alan Knowles
<alan@roojs.com>
Thu, 29 Nov 2018 03:59:16 +0000
(11:59 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 29 Nov 2018 03:59:16 +0000
(11:59 +0800)
Roo/bootstrap/ComboBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/ComboBox.js
b/Roo/bootstrap/ComboBox.js
index
c58e4eb
..
796c014
100644
(file)
--- a/
Roo/bootstrap/ComboBox.js
+++ b/
Roo/bootstrap/ComboBox.js
@@
-769,7
+769,9
@@
Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
*/
if(!this.tpl){
- this.tpl = '<li><a class="dropdown-item" href="#">{' + this.displayField + '}</a></li>';
+ this.tpl = Roo.bootstrap.version == 4 ?
+ '<a class="dropdown-item" href="#">{' + this.displayField + '}</a>';
+ '<a class="dropdown-item" href="#">{' + this.displayField + '}</a>';
}
this.view = new Roo.View(this.list, this.tpl, {