From 6e7bbf3ea5a978dcdd6aa2d249debadd858cea55 Mon Sep 17 00:00:00 2001 From: Tomas Kirda Date: Sat, 23 Nov 2013 18:07:43 -0600 Subject: [PATCH] Fixes #118. --- dist/jquery.autocomplete.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/jquery.autocomplete.js b/dist/jquery.autocomplete.js index 7f331bb..b7008f4 100644 --- a/dist/jquery.autocomplete.js +++ b/dist/jquery.autocomplete.js @@ -463,7 +463,7 @@ }).done(function (data) { that.currentRequest = null; that.processResponse(data, q); - options.onSearchComplete.call(that.element, q); + options.onSearchComplete.call(that.element, q, data); }).fail(function (jqXHR, textStatus, errorThrown) { options.onSearchError.call(that.element, q, jqXHR, textStatus, errorThrown); });