Changed check value on JS

Former-commit-id: 508cf9a75eedd4836720215451903c3951339ddf
This commit is contained in:
marcos.alconada 2019-04-04 18:06:48 +02:00
parent f9fd0062e9
commit 57cfdcfbc4
1 changed files with 2 additions and 2 deletions

View File

@ -183,10 +183,10 @@ function configure_modules_form() {
); );
$("#text-unit").attr("value", data["unit"] == "" ? "" : data["unit"]); $("#text-unit").attr("value", data["unit"] == "" ? "" : data["unit"]);
$("#checkbox-critical_inverse").prop( $("#checkbox-critical_inverse").prop(
"checked", "uncheck",
data["critical_inverse"] data["critical_inverse"]
); );
$("#checkbox-warning_inverse").prop("checked", data["warning_inverse"]); $("#checkbox-warning_inverse").prop("uncheck", data["warning_inverse"]);
$("#component_loading").hide(); $("#component_loading").hide();
$("#id_module_type").change(); $("#id_module_type").change();
if ($("#id_category").is("select")) { if ($("#id_category").is("select")) {