From f9d0c4a3da9d183c90bc7351f233fa67ea3c66a7 Mon Sep 17 00:00:00 2001 From: ulrich@undisclosed Date: Mon, 11 May 2020 07:57:30 +0000 Subject: [PATCH] Auswahl in Nutzerliste --- web/ui/ui.js | 8 ++------ 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/web/ui/ui.js b/web/ui/ui.js index db78d60..0665ebf 100644 --- a/web/ui/ui.js +++ b/web/ui/ui.js @@ -18,7 +18,7 @@ $('#rollen').click(um_role_list_click); $('#nutzerrollen').click(um_user_role_list_click); $('#userMenu').text('?'); - $('#logout').click(logout); + $('#logout').click(um_apicall_logout); um_clear_user_form(); um_apicall_get_user_list(); um_apicall_get_granted_roles(); @@ -46,10 +46,6 @@ um_apicall_del_user(self.serialisieren(user)); } } -} - -function logout() { - um_apicall_logout(); } /* ----------- role functions ------------ */ @@ -138,7 +134,7 @@ var userId = $('#anmeldename').val(); var kw = $('#kennwort').val(); var firstName = $('#vorname').val(); - var lastName = $('#nachname'); + var lastName = $('#nachname').val(); var user = new User(userId, kw, firstName, lastName, '-'); return user; } -- Gitblit v1.9.3