mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Update application.js
This commit is contained in:
1 parent
853b7ad804
commit
48b6df0cef
1 file changed
+6
-8
@@ -1,11 +1,9 @@
|
||||
$(function() {
|
||||
$("input#issue_customer").autocomplete({
|
||||
source: function (request, response) {
|
||||
$.ajax({
|
||||
url: "/filter_vehicles_by_customer",
|
||||
type: "GET",
|
||||
data: { selected_customer: $("input#issue_customer").val() }
|
||||
});
|
||||
}
|
||||
$("input#issue_customer").on("change", function() {
|
||||
$.ajax({
|
||||
url: "/filter_vehicles_by_customer",
|
||||
type: "GET",
|
||||
data: { selected_customer: $("input#issue_customer").val() }
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user