Roo/bootstrap/ComboBox.js
authoredward <edward@roojs.com>
Wed, 25 Apr 2018 08:40:49 +0000 (16:40 +0800)
committeredward <edward@roojs.com>
Wed, 25 Apr 2018 08:40:49 +0000 (16:40 +0800)
Roo/bootstrap/ComboBox.js

index 54d7b90..dd65527 100644 (file)
@@ -1647,16 +1647,13 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         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'){
@@ -1678,8 +1675,6 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
                     
                     this.onLoad();
                     
-                    Roo.log('onload???');
-                    
                 }else{
                     
                     this.store.baseParams[this.queryParam] = q;
@@ -1701,7 +1696,6 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
 //                    this.expand();
                 }
             }else{
-                Roo.log('in!!??');
                 this.selectedIndex = -1;
                 this.onLoad();   
             }