Cleaned up to make comments english

This commit is contained in:
Peter Goodhall 2024-02-17 13:51:47 +00:00
parent f3ffab92ef
commit 40735699e1

View File

@ -20,7 +20,7 @@ $('#version_dialog_mode').on('change', function () {
});
// JavaScript-Funktion displayVersionDialog für Bootstrap 5
// JavaScript function displayVersionDialog for Bootstrap 5
function displayVersionDialog() {
$.ajax({
@ -30,12 +30,12 @@ function displayVersionDialog() {
success: function (data) {
$('body').append(data);
// Aktiviere das Bootstrap-Modal
// Activate the Bootstrap Modal
var versionDialogModal = new bootstrap.Modal(document.getElementById('versionDialogModal'));
versionDialogModal.show();
},
error: function () {
// Behandlung von Fehlern
// Handling of errors
console.log('Fehler beim Laden der PHP-Datei.');
}
});