From f13cfc9b885a0e315bdbd9d1df10a7dbad51c75f Mon Sep 17 00:00:00 2001 From: edward Date: Wed, 25 Apr 2018 16:40:49 +0800 Subject: [PATCH] Roo/bootstrap/ComboBox.js --- Roo/bootstrap/ComboBox.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Roo/bootstrap/ComboBox.js b/Roo/bootstrap/ComboBox.js index 54d7b90b18..dd65527f4e 100644 --- a/Roo/bootstrap/ComboBox.js +++ b/Roo/bootstrap/ComboBox.js @@ -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(); } -- 2.39.2