From 006e0cd4ece0d801522c172e11ae9e4e3f7c5bb0 Mon Sep 17 00:00:00 2001 From: "marcos.alconada" Date: Wed, 26 Jun 2019 12:31:47 +0200 Subject: [PATCH] Changed js --- .../godmode/reporting/visual_console_builder.editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/godmode/reporting/visual_console_builder.editor.js b/pandora_console/godmode/reporting/visual_console_builder.editor.js index 85cbd9be5e..ad78900be2 100755 --- a/pandora_console/godmode/reporting/visual_console_builder.editor.js +++ b/pandora_console/godmode/reporting/visual_console_builder.editor.js @@ -254,7 +254,7 @@ function update_button_palette_callback() { var values = {}; values = readFields(); - if (values["map_linked"] == 0) { + if (selectedItem == "static_graph") { if (values["agent"] == "" || values["agent"] == "none") { dialog_message("#message_alert_no_agent"); return false;