From 5e9bec9b1234495fdd13d7a664352eadd48ff6e2 Mon Sep 17 00:00:00 2001 From: hornersa Date: Thu, 8 Aug 2024 16:00:38 -0700 Subject: [PATCH] SAK-50359 Portal: Background not darkened when timeout warning displays (#12780) --- library/src/webapp/bundled-js/sakai.morpheus.session.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/src/webapp/bundled-js/sakai.morpheus.session.js b/library/src/webapp/bundled-js/sakai.morpheus.session.js index 73cb9240562e..ea6e12a6596d 100644 --- a/library/src/webapp/bundled-js/sakai.morpheus.session.js +++ b/library/src/webapp/bundled-js/sakai.morpheus.session.js @@ -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'; @@ -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