Private GIT

Skip to content
Snippets Groups Projects
Commit 1ff906f3 authored by echel0n's avatar echel0n
Browse files

Fixed backup and restore - issue was present in javascript file with incorrect url

parent f302ef3d
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment