Add missing customer_edit.js
This commit is contained in:
parent
81ec118347
commit
7c7df55d55
13
app/webroot/js/customer_edit.js
Normal file
13
app/webroot/js/customer_edit.js
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
|
||||||
|
$(function() {
|
||||||
|
|
||||||
|
console.log("Hello");
|
||||||
|
|
||||||
|
// Fairly quick and easy way to make this select box editable. Good enough.
|
||||||
|
$("#CustomerPaymentTermsOptions").live('change', function(data) {
|
||||||
|
selectedOption = $("#CustomerPaymentTermsOptions").val();
|
||||||
|
$("#CustomerPaymentTerms").val(selectedOption);
|
||||||
|
console.log(selectedOption);
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
Loading…
Reference in a new issue