fixed minor error local companent with keep counters

Former-commit-id: f9864be72f448885b2da118585f1bbb92319bd18
This commit is contained in:
Daniel Barbero Martin 2019-04-09 10:19:51 +02:00
parent 8404450458
commit 6585a4736b
1 changed files with 6 additions and 1 deletions

View File

@ -184,7 +184,12 @@ function configure_modules_form() {
data["min_ff_event"] == 0 ? 0 : data["min_ff_event"]
);
$("#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);
}
$("#text-post_process").attr(
"value",
data["post_process"] == 0 ? 0 : data["post_process"]