Can't delete a new part

This commit is contained in:
assar
2017-06-10 14:15:31 +02:00
parent d5cf5d34f9
commit 5eb3cb6e46
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -174,6 +174,8 @@ function text_filter(string) {
}
function delete_entry(partID) {
if (partID < 0)
return;
if (!confirm('Delete the selected entry?'))
return;
$.ajax({