if(this.fireEvent('beforequery', qe)===false || qe.cancel){
return false;
}
-
- Roo.log(qe);
-
q = qe.query;
forceAll = qe.forceAll;
if(this.lastQuery != q || this.alwaysQuery){
this.lastQuery = q;
if(this.mode == 'local'){
+ Roo.log('it is local');
this.selectedIndex = -1;
if(forceAll){
this.store.clearFilter();
this.onLoad();
- Roo.log('onload???');
-
}else{
this.store.baseParams[this.queryParam] = q;
return;
}
- this.doQuery(this.getCurrency());
+ this.doQuery(this.getRawValue());
},
getCurrency : function()
onCurrencyKeyUp : function(e)
{
- Roo.log('on currency keyup');
if(!e.isSpecialKey()){
+ this.hasFocus = true;
this.lastKey = e.getKey();
this.dqTask.delay(this.queryDelay);
}
initQuery : function()
{
var v = this.getCurrency();
- Roo.log('initQuery???');
+
this.doQuery(v);
},