kopia lustrzana https://github.com/magicbug/Cloudlog
Cleaned up to make comments english
rodzic
f3ffab92ef
commit
40735699e1
|
@ -20,22 +20,22 @@ $('#version_dialog_mode').on('change', function () {
|
|||
});
|
||||
|
||||
|
||||
// JavaScript-Funktion displayVersionDialog für Bootstrap 5
|
||||
// JavaScript function displayVersionDialog for Bootstrap 5
|
||||
function displayVersionDialog() {
|
||||
|
||||
$.ajax({
|
||||
url: base_url + "index.php/Version_Dialog/displayVersionDialog",
|
||||
type: 'GET',
|
||||
dataType: 'html',
|
||||
success: function(data) {
|
||||
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
|
||||
error: function () {
|
||||
// Handling of errors
|
||||
console.log('Fehler beim Laden der PHP-Datei.');
|
||||
}
|
||||
});
|
||||
|
|
Ładowanie…
Reference in New Issue