|
|
|
@ -218,7 +218,7 @@ function container_onchange() {
|
|
|
|
|
$('#location-dropdown').empty();
|
|
|
|
|
$.getJSON('parts/getlocationsInContainer/' + selected_container_id, function(data) {
|
|
|
|
|
$.each(data, function(location_id, location_name) {
|
|
|
|
|
$('#location-dropdown').append('<option val="' + location_id + '">' + location_name + '</option>');
|
|
|
|
|
$('#location-dropdown').append('<option value="' + location_id + '">' + location_name + '</option>');
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|