Update and rename vehicles.js.coffee to vehicles.js

This commit is contained in:
2016-09-14 09:23:38 -04:00
committed by GitHub
parent 798a7c9933
commit eb39b297f9
2 changed files with 11 additions and 12 deletions

View File

@@ -0,0 +1,11 @@
function customerSelected() {
customer_id = $('issue_customer_id').getValue();
console.log(customer_id);
# update stuff
}
document.observe('dom:loaded', function() {
customerSelected();
$('issue_customer_id').observe('change', customerSelected);
});