mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Changed js
This commit is contained in:
parent
006e0cd4ec
commit
c223e0bdad
@ -255,11 +255,13 @@ function update_button_palette_callback() {
|
||||
|
||||
values = readFields();
|
||||
if (selectedItem == "static_graph") {
|
||||
if (values["map_linked"] == 0) {
|
||||
if (values["agent"] == "" || values["agent"] == "none") {
|
||||
dialog_message("#message_alert_no_agent");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
// TODO VALIDATE DATA
|
||||
switch (selectedItem) {
|
||||
case "background":
|
||||
|
Loading…
x
Reference in New Issue
Block a user