Compare commits

..

No commits in common. '2d412372b1650496bc7c9ada3cc53c305056f21f' and '3c3f72b14f14b40eba882166e721f744bbeb3d68' have entirely different histories.

@ -38,10 +38,9 @@ function new_entry() {
$('table#details tr#partno td input').val('');
$('table#details tr#description td input').val('');
$('input[name=datasheet-url-input]').val('');
// container_onchange();
init_edit(-1);
overlay_in();
container_onchange();
}
function end_edit() {
@ -75,7 +74,7 @@ function end_edit() {
}
function save(partID) {
if (!$('#location-dropdown').val() || ('#location-dropdown').val()== -1 ) {
if (!$('#location-dropdown').val()) {
alert('Please select a location.');
return;
}

Loading…
Cancel
Save