... |
... |
@@ -906,7 +906,7 @@ |
906 |
906 |
} |
907 |
907 |
|
908 |
908 |
.dialogv8-buttons DIV { |
909 |
|
- padding: 7px 9px; |
|
909 |
+ padding: 10px 20px; |
910 |
910 |
font-size: 15px; |
911 |
911 |
border: none; |
912 |
912 |
border-radius: 15px; |
... |
... |
@@ -946,7 +946,7 @@ |
946 |
946 |
|
947 |
947 |
<div id="overlayv8" style="display: none;"> |
948 |
948 |
<div id="dialogv8"> |
949 |
|
- <h2>Die aktuelle formcycle Version ist die Version 8. Möchten Sie zur Hilfe für diese Version wechseln?</h2> |
|
949 |
+ <h2>Die aktuelle formcycle Version ist die Version 8. Möchten Sie zur Hilfe für diese Version weitergeleitet werden?</h2> |
950 |
950 |
<div> |
951 |
951 |
<input type="checkbox" id="dialogv8cb" name="dialogv8cb" value="true"> |
952 |
952 |
<label for="dialogv8cb" style="margin-top: 3px;">Diese Entscheidung merken</label><br> |
... |
... |
@@ -982,8 +982,7 @@ |
982 |
982 |
} |
983 |
983 |
|
984 |
984 |
function checkCookie() { |
985 |
|
- let dialogv8 = getCookie("dialogv8"); |
986 |
|
- console.log("cookie got",dialogv8); |
|
985 |
+ let user = getCookie("dialogv8"); |
987 |
987 |
if (dialogv8 != "") { |
988 |
988 |
console.log("Cookie found " + dialogv8); |
989 |
989 |
return false; |
... |
... |
@@ -1005,7 +1005,7 @@ |
1005 |
1005 |
// Redirect on continue |
1006 |
1006 |
document.getElementById("continueBtn").onclick = function() { |
1007 |
1007 |
window.location.href = "https://help8.formcycle.eu/support/home"; |
1008 |
|
- if (document.querySelector('INPUT[name="dialogv8cb"]').checked) { |
|
1007 |
+ if ($('[INPUT name="dialogv8cb"]').val() == "true") { |
1009 |
1009 |
setCookie("dialogv8", "true", 90); |
1010 |
1010 |
} |
1011 |
1011 |
}; |
... |
... |
@@ -1013,7 +1013,7 @@ |
1013 |
1013 |
// Close overlay on abort |
1014 |
1014 |
document.getElementById("abortBtn").onclick = function() { |
1015 |
1015 |
document.getElementById("overlayv8").style.display = "none"; |
1016 |
|
- if (document.querySelector('INPUT[name="dialogv8cb"]').checked) { |
|
1015 |
+ if ($('[INPUT name="dialogv8cb"]').val() == "true") { |
1017 |
1017 |
setCookie("dialogv8", "false", 90); |
1018 |
1018 |
} |
1019 |
1019 |
}; |