added error to dialog submission when no agents or policies have been selected
This commit is contained in:
parent
6ba1a27274
commit
6157030cff
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue