Changed js

This commit is contained in:
marcos.alconada 2019-06-26 12:31:47 +02:00
parent c1d1c23a4f
commit 006e0cd4ec
1 changed files with 1 additions and 1 deletions

View File

@ -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;