Delete button now deletes only once.

pull/3/head
Davide Bongiovanni 6 years ago
parent 597898885b
commit 7e1f59f781

@ -185,7 +185,7 @@ function show_part_info(partID) {
$('#edit-button').click(function() {
init_edit(partID);
});
$('#delete-button').click(function() {
$('#delete-button').off('click').on('click', function() {
delete_entry(partID);
});
overlay_in();

Loading…
Cancel
Save