#9347 central node deletion

This commit is contained in:
Daniel Maya 2022-08-12 09:44:16 +02:00
parent 2f9d1de8b4
commit 4d7329f1fd
1 changed files with 8 additions and 11 deletions

View File

@ -1997,8 +1997,6 @@ function show_menu(item, data) {
};
}
// Avoid deletion if Pandora FMS node.
if (data.type != 2) {
items_list["delete"] = {
name: delete_menu,
icon: "delete",
@ -2007,7 +2005,6 @@ function show_menu(item, data) {
delete_nodes();
}
};
}
$.contextMenu("destroy");
$.contextMenu({