mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2025-03-21 08:52:21 +00:00
Rev for 1.2.21 release
This commit is contained in:
parent
94600795e7
commit
2b7e259b74
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "devbridge-autocomplete",
|
||||
"version": "1.2.20",
|
||||
"version": "1.2.21",
|
||||
"homepage": "https://github.com/devbridge/jQuery-Autocomplete",
|
||||
"authors": [
|
||||
"Tomas Kirda"
|
||||
|
@ -6,7 +6,7 @@
|
||||
"ajax",
|
||||
"autocomplete"
|
||||
],
|
||||
"version": "1.2.20",
|
||||
"version": "1.2.21",
|
||||
"author": {
|
||||
"name": "Tomas Kirda",
|
||||
"url": "https://github.com/tkirda"
|
||||
|
6
dist/jquery.autocomplete.js
vendored
6
dist/jquery.autocomplete.js
vendored
@ -1,5 +1,5 @@
|
||||
/**
|
||||
* Ajax Autocomplete for jQuery, version 1.2.20
|
||||
* Ajax Autocomplete for jQuery, version 1.2.21
|
||||
* (c) 2015 Tomas Kirda
|
||||
*
|
||||
* Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license.
|
||||
@ -209,7 +209,7 @@
|
||||
onFocus: function () {
|
||||
var that = this;
|
||||
that.fixPosition();
|
||||
if (that.options.minChars <= that.el.val().length) {
|
||||
if (that.options.minChars === 0 && that.el.val().length === 0) {
|
||||
that.onValueChange();
|
||||
}
|
||||
},
|
||||
@ -580,7 +580,7 @@
|
||||
that.currentRequest = $.ajax(ajaxSettings).done(function (data) {
|
||||
var result;
|
||||
that.currentRequest = null;
|
||||
result = options.transformResult(data);
|
||||
result = options.transformResult(data, q);
|
||||
that.processResponse(result, q, cacheKey);
|
||||
options.onSearchComplete.call(that.element, q, result.suggestions);
|
||||
}).fail(function (jqXHR, textStatus, errorThrown) {
|
||||
|
4
dist/jquery.autocomplete.min.js
vendored
4
dist/jquery.autocomplete.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "devbridge-autocomplete",
|
||||
"version": "1.2.20",
|
||||
"version": "1.2.21",
|
||||
"description": "Autocomplete provides suggestions while you type into the text field.",
|
||||
"homepage": "https://github.com/devbridge/jQuery-Autocomplete",
|
||||
"author": "Tomas Kirda (https://twitter.com/tkirda)",
|
||||
|
Loading…
x
Reference in New Issue
Block a user