Fix js bug when dispatching jo with reference jo #101

This commit is contained in:
Kendrick Chan 2018-04-19 10:36:12 +08:00
parent 9f74f62a9b
commit 392396e64a

View file

@ -1045,6 +1045,7 @@ $(function() {
})
}).focus();
{% if ftags.vehicle_dropdown %}
// reference job order selector
$('#ref-jo').select2({
ajax: {
@ -1063,6 +1064,7 @@ $(function() {
placeholder: "Select a job order",
allowClear: true
});
{% endif %}
// reset all vehicle info form fields
function resetVehicleFields() {