From 807d6643f4cfb82629540b9db901d23d5d92a405 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 22 Mar 2017 18:52:38 -0400 Subject: [PATCH] Update application.js --- assets/javascripts/application.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/assets/javascripts/application.js b/assets/javascripts/application.js index 8d317e2..3e5b6d2 100644 --- a/assets/javascripts/application.js +++ b/assets/javascripts/application.js @@ -1,7 +1,13 @@ $(function() { $("input#issue_customer").autocomplete({ source: function (request, response) { - $.ajax({ url: "/filter_vehicles_by_customer", type: "GET", data: { selected_customer: $("input#issue_customer").val() } }); + $.ajax({ + url: "/filter_vehicles_by_customer", + type: "GET", + data: { + selected_customer: $("input#issue_customer").val() + } + }); }); }); });