projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b2b5e5f
)
Roo/bootstrap/ComboBox.js
author
edward
<edward@roojs.com>
Wed, 25 Apr 2018 08:40:49 +0000
(16:40 +0800)
committer
edward
<edward@roojs.com>
Wed, 25 Apr 2018 08:40:49 +0000
(16:40 +0800)
Roo/bootstrap/ComboBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/ComboBox.js
b/Roo/bootstrap/ComboBox.js
index
54d7b90
..
dd65527
100644
(file)
--- a/
Roo/bootstrap/ComboBox.js
+++ b/
Roo/bootstrap/ComboBox.js
@@
-1647,16
+1647,13
@@
Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
if(this.fireEvent('beforequery', qe)===false || qe.cancel){
return false;
}
if(this.fireEvent('beforequery', qe)===false || qe.cancel){
return false;
}
-
- Roo.log(qe);
-
q = qe.query;
forceAll = qe.forceAll;
if(forceAll === true || (q.length >= this.minChars)){
this.hasQuery = true;
q = qe.query;
forceAll = qe.forceAll;
if(forceAll === true || (q.length >= this.minChars)){
this.hasQuery = true;
- Roo.log('in??');
+
if(this.lastQuery != q || this.alwaysQuery){
this.lastQuery = q;
if(this.mode == 'local'){
if(this.lastQuery != q || this.alwaysQuery){
this.lastQuery = q;
if(this.mode == 'local'){
@@
-1678,8
+1675,6
@@
Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
this.onLoad();
this.onLoad();
- Roo.log('onload???');
-
}else{
this.store.baseParams[this.queryParam] = q;
}else{
this.store.baseParams[this.queryParam] = q;
@@
-1701,7
+1696,6
@@
Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
// this.expand();
}
}else{
// this.expand();
}
}else{
- Roo.log('in!!??');
this.selectedIndex = -1;
this.onLoad();
}
this.selectedIndex = -1;
this.onLoad();
}