Reset backup days count after processing the backup

This commit is contained in:
Flavio Copes
2015-07-29 14:50:38 +02:00
parent e9f79af6c5
commit b768aa6e70

View File

@@ -164,6 +164,11 @@ $(function () {
toastr.options[setting] = toastrBackup[setting];
}
}
if (url.indexOf('task:backup') !== -1) {
//Reset backup days count
$('.backups-chart .numeric').html("0 <em>days</em>");
}
}
}).always(function() {
// Restore button