Added safe_attributes for ProjecT

This commit is contained in:
2017-11-17 20:54:14 -05:00
parent 738cd21b1f
commit cee8ddced1
2 changed files with 10 additions and 8 deletions

View File

@@ -11,13 +11,13 @@ $(function() {
type: "GET",
data: { selected_customer: $("input#issue_customer_id").val() }
});
});
$("input#project_customer_id").on("change", function() {
$.ajax({
url: "/filter_vehicles_by_customer",
type: "GET",
data: { selected_customer: $("input#project_customer_id").val() }
});
});
$("input#project_customer_id").on("change", function() {
$.ajax({
url: "/filter_vehicles_by_customer",
type: "GET",
data: { selected_customer: $("input#project_customer_id").val() }
});
});
});