diff options
Diffstat (limited to 'id/server/data')
-rw-r--r-- | id/server/data/deploy/conf/moa-id/htmlTemplates/javascript_tempalte.js | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/id/server/data/deploy/conf/moa-id/htmlTemplates/javascript_tempalte.js b/id/server/data/deploy/conf/moa-id/htmlTemplates/javascript_tempalte.js index ca920f63b..0c1f6a561 100644 --- a/id/server/data/deploy/conf/moa-id/htmlTemplates/javascript_tempalte.js +++ b/id/server/data/deploy/conf/moa-id/htmlTemplates/javascript_tempalte.js @@ -33,7 +33,11 @@ function isIE() { function bkuOnlineClicked() { if (isMetro()) document.getElementById("metroDetected").style.display="block"; - document.getElementById("localBKU").style.display="block"; + + var localBkuEl = document.getElementById("localBKU"); + if (localBkuEl) + localBkuEl.style.display="block"; + /* if (checkMandateSSO()) return; */ @@ -49,7 +53,10 @@ function isIE() { generateIFrame(iFrameURL); } function bkuHandyClicked() { - document.getElementById("localBKU").style.display="none"; + var localBkuEl = document.getElementById("localBKU"); + if (localBkuEl) + localBkuEl.style.display="block"; + /* if (checkMandateSSO()) return; */ @@ -65,7 +72,10 @@ function isIE() { generateIFrame(iFrameURL); } function storkClicked() { - document.getElementById("localBKU").style.display="none"; + var localBkuEl = document.getElementById("localBKU"); + if (localBkuEl) + localBkuEl.style.display="none"; + /* if (checkMandateSSO()) return; */ |