added error to dialog submission when no agents or policies have been selected

This commit is contained in:
alejandro-campos 2020-05-27 18:52:50 +02:00
parent 6ba1a27274
commit 6157030cff
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ function snmp_show_result_message(data) {
if (dato.length !== 0) {
$("#error_text").text("");
if (dato[0] ===- 1) {
if (dato[0] === -1) {
$("#dialog_no_agents_selected").dialog({
resizable: true,
draggable: true,