aboutsummaryrefslogtreecommitdiff
path: root/id/server/data
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2017-03-28 09:35:39 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2017-03-28 09:35:39 +0200
commit3da6ab43157cbe6ca224e4cd3ee09052d67f4bfb (patch)
tree3f2c2f656820e831b0b1df057998bc99ab668c84 /id/server/data
parent93acb35fdf7ca1118c5955a3bfa727619a26d178 (diff)
downloadmoa-id-spss-3da6ab43157cbe6ca224e4cd3ee09052d67f4bfb.tar.gz
moa-id-spss-3da6ab43157cbe6ca224e4cd3ee09052d67f4bfb.tar.bz2
moa-id-spss-3da6ab43157cbe6ca224e4cd3ee09052d67f4bfb.zip
fix problem in javascript lib that is used for BKU selection
Diffstat (limited to 'id/server/data')
-rw-r--r--id/server/data/deploy/conf/moa-id/htmlTemplates/javascript_tempalte.js16
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; */