From 33f189313ef762109f704857e33d71cff3e544ab Mon Sep 17 00:00:00 2001 From: ChiuchiuSorin Date: Tue, 7 Nov 2023 12:16:10 +0200 Subject: [PATCH] The date filters in the download files modal do not disappear when logs are not selected. #23 * Modified the value from the listened input to the new LogsDataResource hint --- .../src/main/resources/AdminTools/Code/AdminToolsJS.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application-admintools-ui/src/main/resources/AdminTools/Code/AdminToolsJS.xml b/application-admintools-ui/src/main/resources/AdminTools/Code/AdminToolsJS.xml index 06b3fa23..3db38979 100644 --- a/application-admintools-ui/src/main/resources/AdminTools/Code/AdminToolsJS.xml +++ b/application-admintools-ui/src/main/resources/AdminTools/Code/AdminToolsJS.xml @@ -153,7 +153,7 @@ link.click(); }); - $(document).on('change', '#downloadFilesModal input[name="files"][value="logsDataResource"]', function() { + $(document).on('change', '#downloadFilesModal input[name="files"][value="logs"]', function() { if ($(this).is(':checked')) { $('#downloadFilesModal .dateFields').show(); } else {