MCPcopy
hub / github.com/alseambusher/crontab-ui / delete_backup

Function delete_backup

public/js/script.js:210–216  ·  view source on GitHub ↗
(db_name)

Source from the content-addressed store, hash-verified

208}
209
210function delete_backup(db_name) {
211 messageBox('<p> Do you want to delete this backup? </p>', 'Confirm delete', null, null, function() {
212 $.get(routes.delete_backup, {db: db_name}, function() {
213 location = routes.root;
214 });
215 });
216}
217
218function restore_backup(db_name) {
219 messageBox('<p> Do you want to restore this backup? </p>', 'Confirm restore', null, null, function() {

Callers

nothing calls this directly

Calls 1

messageBoxFunction · 0.85

Tested by

no test coverage detected