Commit 3bdc1776 authored by Efthymia Bika's avatar Efthymia Bika
Browse files

Show remove button on error

parent be32f568
...@@ -305,6 +305,7 @@ function remove_all(time, force) { ...@@ -305,6 +305,7 @@ function remove_all(time, force) {
var nothing_to_del = new RegExp("No old backup sets found, nothing deleted").exec(stdout); var nothing_to_del = new RegExp("No old backup sets found, nothing deleted").exec(stdout);
if(nothing_to_del) { if(nothing_to_del) {
$("#force-delete").hide(); $("#force-delete").hide();
$("#remove-all-button").show();
} }
} }
$("#loader").hide(); $("#loader").hide();
......
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