ent 7914 time based status scaling components

This commit is contained in:
edu.corral 2022-11-04 09:45:06 +01:00
parent ba70e8dd0d
commit 1ff9b8c420
2 changed files with 12 additions and 6 deletions

View File

@ -204,12 +204,8 @@ $table->data[5][1] .= html_print_input_text(
$warning_time,
'',
5,
255,
true,
$disabledBecauseInPolicy,
false,
'',
$classdisabledBecauseInPolicy
15,
true
);
$table->data[5][1] .= '&nbsp;&nbsp;<b>'.__('intervals in warning status.').'</b>';

View File

@ -170,6 +170,11 @@ function configure_modules_form() {
data["dynamic_min"] == 0 ? 0 : data["dynamic_min"]
);
$("#text-warning_time").attr(
"value",
data["warning_time"] == 0 ? 0 : data["warning_time"]
);
if (data["dynamic_two_tailed"])
$("#checkbox-dynamic_two_tailed").check();
else $("#checkbox-dynamic_two_tailed").uncheck();
@ -461,6 +466,11 @@ function configure_modules_form() {
$("#post_process_default").hide();
}
$("#text-warning_time").attr(
"value",
data["warning_time"] == 0 ? 0 : data["warning_time"]
);
$("#text-post_process_text").attr(
"value",
data["post_process"] == 0 ? 0 : data["post_process"]