mirror of
https://github.com/devbridge/jQuery-Autocomplete.git
synced 2024-11-09 23:01:00 +00:00
Fixes #118.
This commit is contained in:
parent
d38ec91e6b
commit
6e7bbf3ea5
2
dist/jquery.autocomplete.js
vendored
2
dist/jquery.autocomplete.js
vendored
@ -463,7 +463,7 @@
|
|||||||
}).done(function (data) {
|
}).done(function (data) {
|
||||||
that.currentRequest = null;
|
that.currentRequest = null;
|
||||||
that.processResponse(data, q);
|
that.processResponse(data, q);
|
||||||
options.onSearchComplete.call(that.element, q);
|
options.onSearchComplete.call(that.element, q, data);
|
||||||
}).fail(function (jqXHR, textStatus, errorThrown) {
|
}).fail(function (jqXHR, textStatus, errorThrown) {
|
||||||
options.onSearchError.call(that.element, q, jqXHR, textStatus, errorThrown);
|
options.onSearchError.call(that.element, q, jqXHR, textStatus, errorThrown);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user