if(!this.hasFocus){
return;
}
- Roo.log('run??');
+
if(typeof(this.loading) !== 'undefined' && this.loading !== null){
this.loading.hide();
}
onEmptyResults : function(){
if(this.tickable && this.editable){
+ this.hasFocus = false;
this.restrictHeight();
return;
}
if(this.lastQuery != q || this.alwaysQuery){
this.lastQuery = q;
if(this.mode == 'local'){
-
this.selectedIndex = -1;
if(forceAll){
this.store.clearFilter();
this.onLoad();
+
}else{
this.store.baseParams[this.queryParam] = q;
validate : function()
{
+ if(this.getEl().hasClass('hidden')){
+ return true;
+ }
+
var v = this.getRawValue();
if(this.multiple){