From 854f2c5b16bbb4952ecde6d28879567f1e60cc69 Mon Sep 17 00:00:00 2001 From: john Date: Tue, 29 May 2018 13:56:39 +0800 Subject: [PATCH] Roo/bootstrap/ComboBox.js --- Roo/bootstrap/ComboBox.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Roo/bootstrap/ComboBox.js b/Roo/bootstrap/ComboBox.js index 03ec8a7dbf..eeede96222 100644 --- a/Roo/bootstrap/ComboBox.js +++ b/Roo/bootstrap/ComboBox.js @@ -1514,9 +1514,9 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, { if(this.tickable && this.editable){ this.restrictHeight(); - // return; + return; } - Roo.log(this.isExpanded()); + this.collapse(); }, @@ -1730,7 +1730,6 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, { this.hasFocus = false; if(this.tickable){ - this.okBtn.hide(); this.cancelBtn.hide(); this.trigger.show(); -- 2.39.2