// Start Cronto Aktivierung Gerätename obligatorisch Button weiter disabled var otanActivationNextTimeout = null; function otanActivationFieldsChanged() { if (otanActivationNextTimeout) { clearTimeout(otanActivationNextTimeout); } otanActivationNextTimeout = setTimeout(function() { var otanDeviceName = $("#otan-deviceName-input").val() || ""; var otanChallengeResponse = $("#otan-challengeResponse-input").val() || ""; if (otanDeviceName.trim().length > 0 && otanChallengeResponse.trim().length > 0) { $(".uap-button.submit").prop("disabled", false); } else { $(".uap-button.submit").prop("disabled", true); } }, 50); } $(document).ready(function () { if (typeof jsf !== "undefined") { jsf.ajax.addOnEvent(function(event) { var ajaxstatus = event.status; switch (ajaxstatus) { case "begin": break; case "complete": break; case "success": if ($("body").attr("data-uap-view") == "ACTIVATION_OTAN_CRYPTOGRAM_SCREEN") { $(".uap-button.submit").prop("disabled", true); $("#otan-challengeResponse-input").on("keydown", function(e) { otanActivationFieldsChanged(); }); $("#otan-deviceName-input").on("keydown", function(e) { otanActivationFieldsChanged(); }); } break; } }); } }); // Ende Cronto Aktivierung // Start styling function moveIntoMainPanel() { $("[data-moveto=\"main-panel\"]").each(function(i, panelToMove) { var panelToMove = $(panelToMove); if (panelToMove.parents("#main-panel").length > 0) { // the panel is already inside the main panel, nothing to move return; } var panelId = panelToMove.attr("data-moveid"); var moveSide = panelToMove.attr("data-position"); $("#main-panel [data-moveid=\""+panelId+"\"]").remove(); if (moveSide === "left") { panelToMove.clone().prependTo($("#main-panel")); } else { panelToMove.clone().appendTo($("#main-panel")); } }); } function moveStepsToHeader() { var stepsIndicator = $("#uap-steps").clone(); // we remove the dot character from the step index since it is not in the design stepsIndicator.find(".wrap-step > .index").each(function(i, stepIndex) { var stepIndex = $(stepIndex); stepIndex.text(stepIndex.text().replace(".", "")); }); $("#uap-steps-moved").remove(); stepsIndicator.attr("id", "uap-steps-moved"); stepsIndicator.detach().appendTo("#header-bar"); // add last "E-Banking" entry found in the design var lastStep = +(stepsIndicator.children().last().find(".index").text().replace(/[^0-9]/g, "")); stepsIndicator.append("
"+(lastStep+1)+" E-Banking
"); } function moveInnerFooterIntoLoginPanel() { var innerFooter = $(".inner-footer"); if (innerFooter.length) { if (innerFooter.closest(".login-panel").length > 0) { // the inner footer is already inside the login panel, nothing to move return; } innerFooter.detach().appendTo($(".login-panel")); } } function moveErrorContainerForStyling() { if ($("#uap-errorBox-for-size").length == 0 || ($("#uap-errorBox-for-size").html() != $("#uap-errorBox").html())) { var errorContainer = $("#uap-errorBox").clone(); $("#uap-errorBox-for-size").remove(); errorContainer.attr("id", "uap-errorBox-for-size"); errorContainer.detach().appendTo($("#uap-errorBox-container")); } } function addWaitingForPushIcon() { var waitingIconSVG = "
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \

Warten auf Cronto App...

"; if ($("body").attr("data-uap-view") == "CHALLENGE_OTAN" && $("#uap-waiting-button").length > 0 && $(".wait-for-push-msg").length == 0) { $(".buttons").prepend(waitingIconSVG); $(".buttons").css("flex-wrap", "wrap"); } } $(document).ready(function () { var adjustUi = function() { setTimeout(function() { moveIntoMainPanel(); moveStepsToHeader(); moveInnerFooterIntoLoginPanel(); moveErrorContainerForStyling(); addWaitingForPushIcon(); }, 30); }; adjustUi(); if (typeof jsf !== "undefined") { jsf.ajax.addOnEvent(function(event) { var ajaxstatus = event.status; switch (ajaxstatus) { case "begin": break; case "complete": adjustUi(); break; case "success": adjustUi(); break; } }); } $(document).on("pfAjaxComplete", function() { adjustUi(); }); }); //Logo verlinken window.addEventListener("load", function() { document.getElementById('logo').addEventListener('click', function() { location.href = 'https://www.okb.ch' }); }); Obwaldner Kantonalbank E-Banking
Es ist ein Fehler aufgetreten
Hilfe beim Login?
E-Service Support
041 666 22 11
Montag - Freitag
08:00 - 17:30 Uhr
Sicherheit
5 Schritte für Ihre digitale Sicherheit
Wie können Sie Ihre Daten und Geräte vor einem fremden Zugriff schützen? Indem Sie diese fünf Schritte beachten.
Wie sicher ist E‑Banking?
Wie funktioniert E‑Banking?