Univention Bugzilla – Attachment 8284 Details for
Bug 43105
Improve login dialog position after session timeout
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
43105.patch (text/plain), 2.22 KB, created by
Jürn Brodersen
on 2016-12-02 14:02:54 CET
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Jürn Brodersen
Created:
2016-12-02 14:02:54 CET
Size:
2.22 KB
patch
obsolete
>Index: univention-management-console-frontend/umc/dialog/LoginDialog.js >=================================================================== >--- univention-management-console-frontend/umc/dialog/LoginDialog.js (Revision 74931) >+++ univention-management-console-frontend/umc/dialog/LoginDialog.js (Arbeitskopie) >@@ -71,8 +71,6 @@ > > _currentResult: null, > >- _scrollPosY: 0, >- > id: 'umcLoginWrapper', > > open: false, >@@ -468,8 +466,6 @@ > _show: function() { > var deferred; > query('#umcLoginWrapper').style('display', 'block'); >- this._scrollPosY = window.scrollY; >- window.scrollTo(0, 0); > query('#umcLoginDialog').style('opacity', '1'); // baseFx.fadeOut sets opacity to 0 > this._setFocus(); > if (has('ie') < 10) { >@@ -522,7 +518,6 @@ > // hide the dialog > var hide = lang.hitch(this, function() { > query('#umcLoginWrapper').style('display', 'none'); >- window.scrollTo(0, this._scrollPosY); > Dialog._DialogLevelManager.hide(this); > this.standby(false); > try { >Index: univention-management-console-frontend-theme/dijit-claro-stylus/document.styl >=================================================================== >--- univention-management-console-frontend-theme/dijit-claro-stylus/document.styl (Revision 74921) >+++ univention-management-console-frontend-theme/dijit-claro-stylus/document.styl (Arbeitskopie) >@@ -20,6 +20,10 @@ > background: white; > } > >+body { >+ height: 100%; >+} >+ > .umc td, > .umc th { > padding: 0em 1em 0.3em 0em; >Index: univention-management-console-frontend-theme/dijit-claro-stylus/site/login.styl >=================================================================== >--- univention-management-console-frontend-theme/dijit-claro-stylus/site/login.styl (Revision 74921) >+++ univention-management-console-frontend-theme/dijit-claro-stylus/site/login.styl (Arbeitskopie) >@@ -1,12 +1,23 @@ > @import "../variables"; > > #umcLoginWrapper { >- position: absolute; >+ position: fixed; > height: 100%; > width: 100%; > display: none; >+ overflow: auto; > } > >+.dijitDialogUnderlayWrapper { >+ position: fixed; >+ top: 0px !important; >+} >+ >+.umcTopContainer { >+ height: 100%; >+ overflow: auto; >+} >+ > #umcLoginDialog, .umcLoginDialog { > background-image: url('../images/login_bg.png'); > background-color: #eeeeef;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 43105
: 8284