fixed minor error keep counters local and network components

Former-commit-id: 8d57bede6ea7c6f44d51a696a3257600410734fe
This commit is contained in:
Daniel Barbero 2019-04-05 09:27:46 +02:00
parent a0a250bef7
commit 447655409d
1 changed files with 6 additions and 1 deletions

View File

@ -420,7 +420,12 @@ function configure_modules_form() {
"value",
data["min_ff_event_critical"] == 0 ? 0 : data["min_ff_event_critical"]
);
$("#checkbox-ff_type").prop("checked", data["ff_type"]);
if (data["ff_type"] != 0) {
$("#checkbox-ff_type").prop("checked", 1);
} else {
$("#checkbox-ff_type").prop("checked", 0);
}
// Shows manual input if post_process field is setted
if (data["post_process"] != 0) {