diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.js b/pandora_console/godmode/reporting/visual_console_builder.editor.js index 14ac36a057..73a6d7e3ac 100644 --- a/pandora_console/godmode/reporting/visual_console_builder.editor.js +++ b/pandora_console/godmode/reporting/visual_console_builder.editor.js @@ -1458,8 +1458,8 @@ function updateDB_visual(type, idElement , values, event, top, left) { if (end_foreach) { return; } - - if (lines[i]['node_begin'] == idElement) { + + if (lines[i]['node_end'] == idElement) { found = true; if (values['parent'] == 0) { //Erased the line