Roo/bootstrap/ComboBox.js
[roojs1] / roojs-bootstrap-debug.js
index 29cb091..8f86e64 100644 (file)
@@ -13545,7 +13545,7 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         if(!this.hasFocus){
             return;
         }
-        
+        Roo.log('run??');
         if(typeof(this.loading) !== 'undefined' && this.loading !== null){
             this.loading.hide();
         }
@@ -14063,6 +14063,7 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
             if(this.lastQuery != q || this.alwaysQuery){
                 this.lastQuery = q;
                 if(this.mode == 'local'){
+                    
                     this.selectedIndex = -1;
                     if(forceAll){
                         this.store.clearFilter();
@@ -14081,7 +14082,6 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
                     
                     this.onLoad();
                     
-                    
                 }else{
                     
                     this.store.baseParams[this.queryParam] = q;
@@ -40432,6 +40432,7 @@ Roo.extend(Roo.bootstrap.MoneyField, Roo.bootstrap.ComboBox, {
     onCurrencyKeyUp : function(e)
     {
         if(!e.isSpecialKey()){
+            this.hasFocus = true;
             this.lastKey = e.getKey();
             this.dqTask.delay(this.queryDelay);
         }