From a0a250bef77e0d206ff85476123a285fc7be3741 Mon Sep 17 00:00:00 2001 From: Daniel Barbero Martin Date: Tue, 2 Apr 2019 16:45:01 +0200 Subject: [PATCH] fixed error add ff_type Former-commit-id: b270ec363b84bbfafcea5418b6007aba8217680b --- pandora_console/include/javascript/pandora_modules.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandora_console/include/javascript/pandora_modules.js b/pandora_console/include/javascript/pandora_modules.js index 889fd0f3dd..abc91ce532 100644 --- a/pandora_console/include/javascript/pandora_modules.js +++ b/pandora_console/include/javascript/pandora_modules.js @@ -100,6 +100,7 @@ function configure_modules_form() { $("#text-unit").attr("value", ""); $("#checkbox-critical_inverse").attr("value", 0); $("#checkbox-warning_inverse").attr("value", 0); + $("#checkbox-ff_type").attr("value", 0); $("#textarea_critical_instructions").attr("value", ""); $("#textarea_warning_instructions").attr("value", ""); $("#textarea_unknown_instructions").attr("value", ""); @@ -182,6 +183,8 @@ function configure_modules_form() { "value", data["min_ff_event"] == 0 ? 0 : data["min_ff_event"] ); + + $("#checkbox-ff_type").prop("checked", data["ff_type"]); $("#text-post_process").attr( "value", data["post_process"] == 0 ? 0 : data["post_process"]