From 1ff906f3ff1372faa45c93d2922cdf410d6f15f5 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sat, 13 Dec 2014 09:22:45 -0800 Subject: [PATCH] Fixed backup and restore - issue was present in javascript file with incorrect url --- gui/slick/js/configBackupRestore.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/slick/js/configBackupRestore.js b/gui/slick/js/configBackupRestore.js index 3881924b..af00757d 100644 --- a/gui/slick/js/configBackupRestore.js +++ b/gui/slick/js/configBackupRestore.js @@ -5,7 +5,7 @@ $(document).ready(function(){ $("#Backup").attr("disabled", true); $('#Backup-result').html(loading); var backupDir = $("#backupDir").val(); - $.get(sbRoot + "/config/backup/", {'backupDir': backupDir}) + $.get(sbRoot + "/config/backuprestore/backup", {'backupDir': backupDir}) .done(function (data) { $('#Backup-result').html(data); $("#Backup").attr("disabled", false); @@ -15,7 +15,7 @@ $(document).ready(function(){ $("#Restore").attr("disabled", true); $('#Restore-result').html(loading); var backupFile = $("#backupFile").val(); - $.get(sbRoot + "/config/restore/", {'backupFile': backupFile}) + $.get(sbRoot + "/config/backuprestore/restore", {'backupFile': backupFile}) .done(function (data) { $('#Restore-result').html(data); $("#Restore").attr("disabled", false);