Änderungen von Dokument FORMCYCLE Hilfe


Von Version 13.19
bearbeitet von gru
am 08.09.2025, 13:15
Änderungskommentar: Es gibt keinen Kommentar für diese Version
Auf Version 13.23
bearbeitet von gru
am 08.09.2025, 13:22
Änderungskommentar: Es gibt keinen Kommentar für diese Version

Zusammenfassung

Details

Seiteneigenschaften
Inhalt
... ... @@ -982,7 +982,8 @@
982 982  }
983 983  
984 984  function checkCookie() {
985 - let user = getCookie("dialogv8");
985 + let dialogv8 = getCookie("dialogv8");
986 + console.log("cookie got",dialogv8);
986 986   if (dialogv8 != "") {
987 987   console.log("Cookie found " + dialogv8);
988 988   return false;
... ... @@ -996,6 +996,8 @@
996 996   console.log("checkCookie",cookieValue);
997 997   if (0 && cookieValue != null) {
998 998   console.log("cookieValue",cookieValue);
1000 + } else if (0) {
1001 + window.location.href = "https://help8.formcycle.eu/support/home";
999 999   } else {
1000 1000   document.getElementById("overlayv8").style.display = "flex";
1001 1001   }
... ... @@ -1004,7 +1004,7 @@
1004 1004   // Redirect on continue
1005 1005   document.getElementById("continueBtn").onclick = function() {
1006 1006   window.location.href = "https://help8.formcycle.eu/support/home";
1007 - if ($('[INPUT name="dialogv8cb"]').val() == "true") {
1010 + if (document.querySelector('INPUT[name="dialogv8cb"]').checked) {
1008 1008   setCookie("dialogv8", "true", 90);
1009 1009   }
1010 1010   };
... ... @@ -1012,7 +1012,7 @@
1012 1012   // Close overlay on abort
1013 1013   document.getElementById("abortBtn").onclick = function() {
1014 1014   document.getElementById("overlayv8").style.display = "none";
1015 - if ($('[INPUT name="dialogv8cb"]').val() == "true") {
1018 + if (document.querySelector('INPUT[name="dialogv8cb"]').checked) {
1016 1016   setCookie("dialogv8", "false", 90);
1017 1017   }
1018 1018   };