fixed inability to edit parts

fix-empty-location
Marek Baczynski 9 months ago
parent c4da0395fa
commit 0c8ebeea3b

@ -75,7 +75,7 @@ function end_edit() {
} }
function save(partID) { function save(partID) {
if (!$('#location-dropdown').val() || ('#location-dropdown').val()== -1 ) { if (!$('#location-dropdown').val() || ($'#location-dropdown').val()== -1 ) {
alert('Please select a location.'); alert('Please select a location.');
return; return;
} }

Loading…
Cancel
Save