mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-21 20:35:17 +00:00
Merge pull request #767 from jrochkind/focus_respects_disabled
onFocus should respect disabled
This commit is contained in:
commit
0ba256501b
@ -219,6 +219,10 @@
|
||||
onFocus: function () {
|
||||
var that = this;
|
||||
|
||||
if (that.disabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
that.fixPosition();
|
||||
|
||||
if (that.el.val().length >= that.options.minChars) {
|
||||
@ -270,7 +274,7 @@
|
||||
'z-index': options.zIndex
|
||||
});
|
||||
|
||||
this.options = options;
|
||||
this.options = options;
|
||||
},
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user