Roo/bootstrap/ComboBox.js
[roojs1] / Roo / bootstrap / ComboBox.js
index 8b4ee82..894f2dd 100644 (file)
@@ -1657,6 +1657,7 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
             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();
@@ -1675,8 +1676,6 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
                     
                     this.onLoad();
                     
-                    Roo.log('onload???');
-                    
                 }else{
                     
                     this.store.baseParams[this.queryParam] = q;