Roo/bootstrap/ComboBox.js
[roojs1] / roojs-bootstrap-debug.js
index 417e7c1..ffc9192 100644 (file)
@@ -14053,9 +14053,6 @@ 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;
@@ -14066,6 +14063,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();
@@ -14084,8 +14082,6 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
                     
                     this.onLoad();
                     
-                    Roo.log('onload???');
-                    
                 }else{
                     
                     this.store.baseParams[this.queryParam] = q;
@@ -40214,7 +40210,7 @@ Roo.extend(Roo.bootstrap.MoneyField, Roo.bootstrap.ComboBox, {
             return;
         }
         
-        this.doQuery(this.getCurrency());
+        this.doQuery(this.getRawValue());
     },
     
     getCurrency : function()
@@ -40435,8 +40431,8 @@ Roo.extend(Roo.bootstrap.MoneyField, Roo.bootstrap.ComboBox, {
     
     onCurrencyKeyUp : function(e)
     {
-        Roo.log('on currency keyup');
         if(!e.isSpecialKey()){
+            this.hasFocus = true;
             this.lastKey = e.getKey();
             this.dqTask.delay(this.queryDelay);
         }
@@ -40455,7 +40451,7 @@ Roo.extend(Roo.bootstrap.MoneyField, Roo.bootstrap.ComboBox, {
     initQuery : function()
     {
         var v = this.getCurrency();
-        Roo.log('initQuery???');
+        
         this.doQuery(v);
     },