aboutsummaryrefslogtreecommitdiff
path: root/id
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2015-09-18 11:53:54 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-09-18 11:53:54 +0200
commit13ca7f82839a68b9fb25d4958b5c2a458a89aedd (patch)
treed7e0b90f1607dbf44f88cfa8879a33d2ab901875 /id
parent0c1249e3c0075c2afccdccab78f41d84c49c10ce (diff)
downloadmoa-id-spss-13ca7f82839a68b9fb25d4958b5c2a458a89aedd.tar.gz
moa-id-spss-13ca7f82839a68b9fb25d4958b5c2a458a89aedd.tar.bz2
moa-id-spss-13ca7f82839a68b9fb25d4958b5c2a458a89aedd.zip
update BKU-Selection template to deactivate buttons after first click to prevent double submission
Diffstat (limited to 'id')
-rw-r--r--id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html b/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html
index 123a23837..fe8cb83c5 100644
--- a/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html
+++ b/id/server/data/deploy/conf/moa-id/htmlTemplates/loginFormFull.html
@@ -656,6 +656,7 @@
if (isMetro())
document.getElementById("metroDetected").style.display="block";
document.getElementById("localBKU").style.display="block";
+ document.getElementById("bkuButtonOnlineId").disabled = "true";
/* if (checkMandateSSO())
return; */
@@ -672,6 +673,7 @@
generateIFrame(iFrameURL);
}
function bkuHandyClicked() {
+ document.getElementById("bkuButtonHandyId").disabled = "true";
document.getElementById("localBKU").style.display="none";
/* if (checkMandateSSO())
return; */
@@ -852,13 +854,15 @@
<img id="bkuimage" class="bkuimage" src="#CONTEXTPATH#/img/online-bku.png"
alt="OnlineBKU" /> <input name="bkuButtonOnline" type="button"
onClick="bkuOnlineClicked();" tabindex="2" role="button"
- value="Karte" />
+ value="Karte"
+ id="bkuButtonOnlineId"/>
</div>
<div id="bkuhandy">
<img class="bkuimage" src="#CONTEXTPATH#/img/mobile-bku.png"
alt="HandyBKU" /> <input name="bkuButtonHandy" type="button"
onClick="bkuHandyClicked();" tabindex="3" role="button"
- value="HANDY" />
+ value="HANDY"
+ id="bkuButtonHandyId"/>
</div>
</div>
<div id="localBKU">