Commit d63e50dc authored by Efthymia Bika's avatar Efthymia Bika
Browse files

Do not show error panel on existing dir error

parent f6fc3667
......@@ -164,6 +164,8 @@ function run_duplicity(restore, force) {
new RegExp("Restore destination directory.* already exists.\nWill not overwrite.")
.exec(stderr);
if(exist_error) {
$("#msg").html("");
$("#msg").removeClass("panel");
var msg = "Destination already exists. Overwrite?";
if(confirm(msg)) {
$("#loader").show();
......
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