mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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) {
|
if (dato.length !== 0) {
|
||||||
$("#error_text").text("");
|
$("#error_text").text("");
|
||||||
|
|
||||||
if (dato[0] ===- 1) {
|
if (dato[0] === -1) {
|
||||||
$("#dialog_no_agents_selected").dialog({
|
$("#dialog_no_agents_selected").dialog({
|
||||||
resizable: true,
|
resizable: true,
|
||||||
draggable: true,
|
draggable: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user