From a5d1b63aad41c0f35b49f6433595d7da8ec54dd2 Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Sat, 30 Apr 2022 12:35:56 +0200 Subject: [PATCH] working on config form script --- pom.xml | 2 +- static/templates/js.st | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 1a45dd5..d1fa192 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.example Widerhall - 0.2.53 + 0.2.54 diff --git a/static/templates/js.st b/static/templates/js.st index d9836af..6fe81c1 100644 --- a/static/templates/js.st +++ b/static/templates/js.st @@ -108,6 +108,7 @@ function showListDetail(data){ console.log(option,'→',data[option]); if (data[option]) $('input[name="'+option+'"]').prop('checked',true); }); + if (data['delete_messages']) $('input[name="hold_time"]').val(data['delete_messages']); } function showListOfModeratedLists(data){