File was renamed from web/ui2/js/app.js |
| | |
| | | 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(); |
| | |
| | | }); |
| | | }; |
| | | |
| | | 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'; |
| | | }); |
| | | }; |
| | | |