Skip to content

Commit

Permalink
SAK-50359 Portal: Background not darkened when timeout warning displa…
Browse files Browse the repository at this point in the history
  • Loading branch information
hornersa authored Aug 8, 2024
1 parent f247bf8 commit 5e9bec9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions library/src/webapp/bundled-js/sakai.morpheus.session.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function createDHTMLMask(callback) {
portalMask.id = 'portalMask';
portalMask.style.height = `${document.documentElement.scrollHeight}px`;
portalMask.style.width = '100%';
portalMask.style.zIndex = '1300';
portalMask.style.zIndex = '1000';
portalMask.style.top = '0';
portalMask.style.left = '0';
portalMask.style.position = 'absolute';
Expand Down Expand Up @@ -142,8 +142,8 @@ function show_timeout_alert(min){
}

if (!$PBJQ("#portalMask").get(0)) {
createDHTMLMask(dismiss_session_alert);
$PBJQ("#portalMask").css("z-index", 1300);
createDHTMLMask();
$PBJQ("#portalMask").css("z-index", 1000);
}
if ($PBJQ("#timeout_alert_body").get(0)) {
//its there, just update the min
Expand Down

0 comments on commit 5e9bec9

Please sign in to comment.