|
|
@ -62,6 +62,10 @@ function end_edit() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function save(partID) {
|
|
|
|
function save(partID) {
|
|
|
|
|
|
|
|
if (!$('#location-dropdown').val()) {
|
|
|
|
|
|
|
|
alert('Please select a location.');
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
var location_id_v = $('#location-dropdown').val();
|
|
|
|
var location_id_v = $('#location-dropdown').val();
|
|
|
|
var partno_v = $('input[name=partno-input]').val();
|
|
|
|
var partno_v = $('input[name=partno-input]').val();
|
|
|
|
var description_v = $('input[name=description-input]').val();
|
|
|
|
var description_v = $('input[name=description-input]').val();
|
|
|
|