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;
- Roo.log('in??');
+
if(this.lastQuery != q || this.alwaysQuery){
this.lastQuery = q;
if(this.mode == 'local'){
this.onLoad();
- Roo.log('onload???');
-
}else{
this.store.baseParams[this.queryParam] = q;
// this.expand();
}
}else{
- Roo.log('in!!??');
this.selectedIndex = -1;
this.onLoad();
}