1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2024-12-25 07:47:05 +00:00

Render the 'Backup now' buttons even if there are already backups

This commit is contained in:
David Duque 2020-07-21 19:25:48 +01:00
parent a0da88834c
commit 311e6c63e8
No known key found for this signature in database
GPG Key ID: 2F327738A3C0AE3A

View File

@ -197,10 +197,11 @@ function show_system_backup() {
} else if (r.backups.length == 0) {
var tr = $('<tr><td colspan="3">No backups have been made yet.</td></tr>');
$('#backup-status tbody').append(tr);
$('#create-full-backup-button').css("display","unset")
$('#create-incremental-backup-button').css("display","unset")
}
// Backups ARE enabled.
$('#create-full-backup-button').css("display","unset")
$('#create-incremental-backup-button').css("display","unset")
for (var i = 0; i < r.backups.length; i++) {
var b = r.backups[i];
var tr = $('<tr/>');