Roo/bootstrap/ComboBox.js
authorMichael <michael@roojs.com>
Thu, 5 Feb 2015 10:32:48 +0000 (18:32 +0800)
committerMichael <michael@roojs.com>
Thu, 5 Feb 2015 10:32:48 +0000 (18:32 +0800)
Roo/bootstrap/ComboBox.js

index e97c140..afcb9ba 100644 (file)
@@ -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');
         }
     },