Index: univention-management-console-frontend/debian/changelog =================================================================== --- univention-management-console-frontend/debian/changelog (Revision 74564) +++ univention-management-console-frontend/debian/changelog (Arbeitskopie) @@ -1,3 +1,9 @@ +univention-management-console-frontend (5.0.63-51) unstable; urgency=medium + + * Bug #40492: Hide overflow on session timeout + + -- Jürn Brodersen Fri, 18 Nov 2016 10:50:33 +0100 + univention-management-console-frontend (5.0.63-50) unstable; urgency=medium * Bug #42357: The maximum request size can now be configured via the UCR variable Index: univention-management-console-frontend/umc/dialog/LoginDialog.js =================================================================== --- univention-management-console-frontend/umc/dialog/LoginDialog.js (Revision 74564) +++ univention-management-console-frontend/umc/dialog/LoginDialog.js (Arbeitskopie) @@ -26,7 +26,7 @@ * /usr/share/common-licenses/AGPL-3; if not, see * . */ -/*global define console window setTimeout require*/ +/*global define, console, window, setTimeout, require*/ define([ "dojo/_base/declare", @@ -222,7 +222,7 @@ })); return; } - if (name == 'umcLoginForm') { + if (name === 'umcLoginForm') { this._submitFakeForm(); } // FIXME: if custom prompts and(!) new password is required we should just switch the view @@ -252,7 +252,7 @@ }); // validate new password form - if (name == 'umcNewPasswordForm' && newPasswordInput.value && newPasswordInput.value !== newPasswordRetypeInput.value) { + if (name === 'umcNewPasswordForm' && newPasswordInput.value && newPasswordInput.value !== newPasswordRetypeInput.value) { this.set('LoginMessage', '

' + _('Changing password failed') + '

' + _('The passwords do not match, please retype again.') + '

'); return; } @@ -466,6 +466,7 @@ _show: function() { var deferred; query('#umcLoginWrapper').style('display', 'block'); + query('html').style('overflow', 'hidden'); query('#umcLoginDialog').style('opacity', '1'); // baseFx.fadeOut sets opacity to 0 this._setFocus(); if (has('ie') < 10) { @@ -518,6 +519,7 @@ // hide the dialog var hide = lang.hitch(this, function() { query('#umcLoginWrapper').style('display', 'none'); + query('html').style('overflow', ''); Dialog._DialogLevelManager.hide(this); this.standby(false); try { Index: univention-management-console-frontend-theme/debian/changelog =================================================================== --- univention-management-console-frontend-theme/debian/changelog (Revision 74564) +++ univention-management-console-frontend-theme/debian/changelog (Arbeitskopie) @@ -1,3 +1,9 @@ +univention-management-console-frontend-theme (1.0.4-6) unstable; urgency=medium + + * Bug #40492: Show session timeout dialog centered to the viewport + + -- Jürn Brodersen Fri, 18 Nov 2016 10:53:45 +0100 + univention-management-console-frontend-theme (1.0.4-5) unstable; urgency=medium Bug #38622: Index: univention-management-console-frontend-theme/dijit-claro-stylus/site/login.styl =================================================================== --- univention-management-console-frontend-theme/dijit-claro-stylus/site/login.styl (Revision 74564) +++ univention-management-console-frontend-theme/dijit-claro-stylus/site/login.styl (Arbeitskopie) @@ -1,10 +1,11 @@ @import "../variables"; #umcLoginWrapper { - position: absolute; + position: fixed; height: 100%; width: 100%; display: none; + overflow: auto; } #umcLoginDialog, .umcLoginDialog {