From 81eb265ac78c9ab689279705dc0017d15333161b Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 5 Feb 2015 18:45:26 +0800 Subject: [PATCH] Roo/bootstrap/ComboBox.js --- Roo/bootstrap/ComboBox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Roo/bootstrap/ComboBox.js b/Roo/bootstrap/ComboBox.js index afcb9ba32d..e97c140315 100644 --- a/Roo/bootstrap/ComboBox.js +++ b/Roo/bootstrap/ComboBox.js @@ -861,11 +861,11 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, { this.editable = value; if(!value){ this.inputEl().dom.setAttribute('readOnly', true); - //this.inputEl().on('mousedown', this.onTriggerClick, this); + this.inputEl().on('mousedown', this.onTriggerClick, this); this.inputEl().addClass('x-combo-noedit'); }else{ this.inputEl().dom.setAttribute('readOnly', false); - //this.inputEl().un('mousedown', this.onTriggerClick, this); + this.inputEl().un('mousedown', this.onTriggerClick, this); this.inputEl().removeClass('x-combo-noedit'); } }, -- 2.39.2