From f3ea959f50907ac32dc58ad5d136d47d98b20376 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sun, 4 Feb 2024 09:54:58 +0100 Subject: [PATCH] admin ui changes --- templates/adminActions.html | 1 + templates/userActions.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/adminActions.html b/templates/adminActions.html index ff362bd..b7e68ef 100644 --- a/templates/adminActions.html +++ b/templates/adminActions.html @@ -55,6 +55,7 @@ function admininit(){ listActivationCodes(); listUsers(); + userinit(); } window.onload = admininit; diff --git a/templates/userActions.html b/templates/userActions.html index c89180a..0cd2b9d 100644 --- a/templates/userActions.html +++ b/templates/userActions.html @@ -60,11 +60,11 @@ } } - function init() { + function userinit() { getUserInfo(); } - window.onload = init; + window.onload = userinit;