mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Update application.js
This commit is contained in:
@@ -1,11 +1,9 @@
|
|||||||
$(function() {
|
$(function() {
|
||||||
$("input#issue_customer").autocomplete({
|
$("input#issue_customer").on("change", function() {
|
||||||
source: function (request, response) {
|
$.ajax({
|
||||||
$.ajax({
|
url: "/filter_vehicles_by_customer",
|
||||||
url: "/filter_vehicles_by_customer",
|
type: "GET",
|
||||||
type: "GET",
|
data: { selected_customer: $("input#issue_customer").val() }
|
||||||
data: { selected_customer: $("input#issue_customer").val() }
|
});
|
||||||
});
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user