Roo/bootstrap/ComboBox.js
authorjohn <john@roojs.com>
Fri, 26 Jan 2018 12:26:55 +0000 (20:26 +0800)
committerjohn <john@roojs.com>
Fri, 26 Jan 2018 12:26:55 +0000 (20:26 +0800)
Roo/bootstrap/ComboBox.js

index 9f7df5e..0fc12ea 100644 (file)
@@ -1107,9 +1107,13 @@ Roo.extend(Roo.bootstrap.ComboBox, Roo.bootstrap.TriggerField, {
         this.editable = value;
         if(!value){
             this.inputEl().dom.setAttribute('readOnly', true);
+            Roo.log('trigger click????');
+            
             this.inputEl().on('mousedown', this.onTriggerClick,  this);
             this.inputEl().addClass('x-combo-noedit');
         }else{
+            Roo.log('trigger click????');
+            
             this.inputEl().dom.setAttribute('readOnly', false);
             this.inputEl().un('mousedown', this.onTriggerClick,  this);
             this.inputEl().removeClass('x-combo-noedit');