diff --git a/themes/grav/js/admin-all.js b/themes/grav/js/admin-all.js index c3a6bb7f..bbb20c2f 100644 --- a/themes/grav/js/admin-all.js +++ b/themes/grav/js/admin-all.js @@ -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 days"); + } } }).always(function() { // Restore button