Delete button now deletes only once.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user