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;