Commit 9688cec0 authored by Efthymia Bika's avatar Efthymia Bika
Browse files

Show/hide backup settings

parent 18b07026
......@@ -21,7 +21,6 @@ function load_backup(backup) {
$("#time-contents").html("");
$("#time-path").val("/");
if(backup) {
container = backup.container;
$("#backup-name").val(backup.name);
......@@ -51,10 +50,8 @@ function load_backup(backup) {
$("#include").val('');
disable_form(false);
disable_actions(true);
// de-activate all tabs
activate_li("dummy");
}
$("#backup_details_link").trigger("click");
$("#backup_details").show();
}
function save_backup_set() {
......
......@@ -147,6 +147,7 @@ function run_duplicity(restore) {
}
function load_status() {
$('#backup_details').hide();
$("#loader").show();
$("#status").html("");
......
......@@ -139,6 +139,7 @@ function get_contents_by_date(value) {
}
function load_timeview() {
$("#backup_details").hide();
$("#loader").show();
function puts(error, stdout, stderr) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment