fix: JS Syntax-Fehler im Kontaktformular behoben
Mehrzeilige String-Literale durch korrekte \n Escape-Sequenzen ersetzt. Fehler verhinderte komplette JS-Ausfuehrung (Modal + Lagebild-Daten). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Dieser Commit ist enthalten in:
@@ -360,12 +360,7 @@ function mdToHtml(md) {
|
|||||||
var msg = document.getElementById('cf-message').value;
|
var msg = document.getElementById('cf-message').value;
|
||||||
|
|
||||||
var subject = 'Anfrage von ' + name + (org ? ' (' + org + ')' : '');
|
var subject = 'Anfrage von ' + name + (org ? ' (' + org + ')' : '');
|
||||||
var body = 'Name: ' + name + '
|
var body = 'Name: ' + name + '\nOrganisation: ' + (org || '-') + '\nE-Mail: ' + email + '\n\nNachricht:\n' + msg;
|
||||||
Organisation: ' + (org || '-') + '
|
|
||||||
E-Mail: ' + email + '
|
|
||||||
|
|
||||||
Nachricht:
|
|
||||||
' + msg;
|
|
||||||
|
|
||||||
window.location.href = 'mailto:info@aegis-sight.de?subject=' + encodeURIComponent(subject) + '&body=' + encodeURIComponent(body);
|
window.location.href = 'mailto:info@aegis-sight.de?subject=' + encodeURIComponent(subject) + '&body=' + encodeURIComponent(body);
|
||||||
|
|
||||||
|
|||||||
In neuem Issue referenzieren
Einen Benutzer sperren