From: Michael Date: Thu, 5 Feb 2015 10:45:26 +0000 (+0800) Subject: Roo/bootstrap/ComboBox.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=81eb265ac78c9ab689279705dc0017d15333161b Roo/bootstrap/ComboBox.js --- 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'); } },