Fix bug that doesn't set make on edit vehicle in customer form #84

This commit is contained in:
Kendrick Chan 2018-04-09 16:11:28 +08:00
parent 1a60b6d632
commit 98e0f81f4f

View file

@ -792,6 +792,7 @@
});
field.html(html).prop('disabled', false);
field.val(field.data('id'));
} else {
field.html('<option value="">No vehicles found</option>').prop('disabled', true);
}