projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c110112
)
Roo/form/ComboNested.js
author
Alan Knowles
<alan@roojs.com>
Fri, 7 Feb 2020 07:50:12 +0000
(15:50 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 7 Feb 2020 07:50:12 +0000
(15:50 +0800)
Roo/form/ComboNested.js
patch
|
blob
|
history
diff --git
a/Roo/form/ComboNested.js
b/Roo/form/ComboNested.js
index
d9661da
..
a541600
100644
(file)
--- a/
Roo/form/ComboNested.js
+++ b/
Roo/form/ComboNested.js
@@
-221,7
+221,17
@@
Roo.extend(Roo.form.ComboNested, Roo.form.ComboBox, {
// -- store handlers..
-
+ // private
+ onBeforeLoad : function()
+ {
+ if(!this.hasFocus){
+ return;
+ }
+ this.innerList[0].update(this.loadingText ?
+ '<div class="loading-indicator">'+this.loadingText+'</div>' : '');
+ this.restrictHeight();
+ this.selectedIndex = -1;
+ },
// private
onLoad : function(a,b,c,d)
{