mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Create application.js
This commit is contained in:
9
assets/javascripts/application.js
Normal file
9
assets/javascripts/application.js
Normal file
@@ -0,0 +1,9 @@
|
||||
$(function() {
|
||||
$("select#issue_customer_id").on("change", function() {
|
||||
$.ajax({
|
||||
url: "/filter_vehicles_by_customer",
|
||||
type: "GET",
|
||||
data: { selected_customer: $("select#issue_customer_id").val() }
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user