projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a6b66d
)
Roo/form/ComboNested.js
author
Alan Knowles
<alan@roojs.com>
Fri, 7 Feb 2020 04:37:44 +0000
(12:37 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 7 Feb 2020 04:37:44 +0000
(12:37 +0800)
Roo/form/ComboNested.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboNested.js
b/Roo/form/ComboNested.js
index
b07ac43
..
24cde49
100644
(file)
--- a/
Roo/form/ComboNested.js
+++ b/
Roo/form/ComboNested.js
@@
-188,11
+188,13
@@
Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
var h = Math.max(inner.clientHeight, inner.offsetHeight, inner.scrollHeight);
// only adjust heights on other ones..
if (i < 1) {
+
el.setHeight(h < this.maxHeight ? 'auto' : this.maxHeight);
il.setHeight(h < this.maxHeight ? 'auto' : this.maxHeight);
+ mh = Math.max(el.getHeight(), mh);
}
- mh = Math.max(el.getHeight(), mh);
+
}, this);
this.list.beginUpdate();