From cd0b62ff279c3d9e242ee3fc62eb2cfb7edd991c Mon Sep 17 00:00:00 2001 From: Kenneth Skovhede Date: Fri, 7 Mar 2014 10:02:50 +0100 Subject: [PATCH] Implemented running backup --- Duplicati/Server/webroot/scripts/app.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Duplicati/Server/webroot/scripts/app.js b/Duplicati/Server/webroot/scripts/app.js index 06a7873fd..c475c8161 100644 --- a/Duplicati/Server/webroot/scripts/app.js +++ b/Duplicati/Server/webroot/scripts/app.js @@ -389,7 +389,12 @@ $(document).ready(function() { }; APP_DATA.runBackup = function(id) { - + serverWithCallback( + { action: 'send-command', command: 'run-backup', id: id }, + function() {}, + function(d,s,m) { alert('Failed to start backup: ' + m); }, + function() { PRIVATE_DATA.refresh_backup_list(); } + ); }; APP_DATA.restoreBackup = function(id) {