projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e37b62e
)
Roo/bootstrap/ComboBox.js
author
Michael
<michael@roojs.com>
Thu, 5 Feb 2015 10:45:26 +0000
(18:45 +0800)
committer
Michael
<michael@roojs.com>
Thu, 5 Feb 2015 10:45:26 +0000
(18:45 +0800)
Roo/bootstrap/ComboBox.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/ComboBox.js
b/Roo/bootstrap/ComboBox.js
index
afcb9ba
..
e97c140
100644
(file)
--- 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.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().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');
}
},
this.inputEl().removeClass('x-combo-noedit');
}
},