From 58aa3b03b63bda8496a953a936ef847a611a52c9 Mon Sep 17 00:00:00 2001 From: ulrich <ulrich> Date: Tue, 19 May 2020 14:02:12 +0000 Subject: [PATCH] Abmelden fertig, neues UI und neues Profil aktiviert --- web/ui/js/app.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/web/ui2/js/app.js b/web/ui/js/app.js similarity index 98% rename from web/ui2/js/app.js rename to web/ui/js/app.js index 76b09c1..fbbf052 100644 --- a/web/ui2/js/app.js +++ b/web/ui/js/app.js @@ -8,6 +8,7 @@ var dlg = document.querySelector(".dialog"); dlg.style.flexBasis = '0em'; document.querySelector('#top-neu-btn').addEventListener('click', self.nutzer_neu_dialog_zeigen); + document.querySelector('#top-logout-btn').addEventListener('click', self.logout); document.querySelector('.west').style.flexBasis = '0em'; document.querySelector('.ost').style.flexBasis = '0em'; self.get_login(); @@ -322,12 +323,12 @@ }); }; - this.um_logout = function() { + this.logout = function() { var m = '?c=de.uhilger.um.pub.SessionManager&m=expireSession'; var u = '../pub' + m; self.http_get(u, function (resp) { //$('#userMenu').text('nicht angemeldet'); - window.location.href = '../logout.html'; + window.location.href = '../logout.jsp'; }); }; -- Gitblit v1.9.3