From b05c7e3309829cca814b2d230766f010fdb9bed6 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Sun, 10 Jul 2022 17:21:59 +0200 Subject: [PATCH] Fix saving log settings not working --- src/controllers/dashboard/logs.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/dashboard/logs.js b/src/controllers/dashboard/logs.js index 8d2602fa99..7b23936e7c 100644 --- a/src/controllers/dashboard/logs.js +++ b/src/controllers/dashboard/logs.js @@ -9,7 +9,8 @@ import alert from '../../components/alert'; /* eslint-disable indent */ - function onSubmit() { + function onSubmit(event) { + event.preventDefault(); loading.show(); const form = this; ApiClient.getServerConfiguration().then(function (config) {