Update application.js

This commit is contained in:
2017-03-22 18:52:38 -04:00
committed by GitHub
parent c725c2774c
commit 807d6643f4

View File

@@ -1,7 +1,13 @@
$(function() { $(function() {
$("input#issue_customer").autocomplete({ $("input#issue_customer").autocomplete({
source: function (request, response) { 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()
}
});
}); });
}); });
}); });