mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-15 17:56:07 +01:00
Reset backup days count after processing the backup
This commit is contained in:
@@ -164,6 +164,11 @@ $(function () {
|
|||||||
toastr.options[setting] = toastrBackup[setting];
|
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() {
|
}).always(function() {
|
||||||
// Restore button
|
// Restore button
|
||||||
|
|||||||
Reference in New Issue
Block a user