From 471ed3c972bc2c9445528e16ff2aad63c424f39e Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sat, 12 Jun 2021 16:36:40 +1000 Subject: [PATCH] FIXED: BUG-30: when restoring, the OK button is red not green in dbox, added new BUG-32: sometimes still getting extra directories in Bin, that just have a trailing slash (or 2 or 3, etc.) --- BUGs | 2 +- templates/files.html | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/BUGs b/BUGs index 5f06faf..4a5a2a3 100644 --- a/BUGs +++ b/BUGs @@ -1,4 +1,4 @@ ### Next: 32 BUG-29: when delete/restore from search view the popup shows a path icon - in wrong spot, move it or lose it -BUG-30: when restoring, the OK button is red not green in dbox BUG-31: can post move/del DBoxes without highlighted files/content +BUG-32: sometimes still getting extra directories in Bin, that just have a trailing slash (or 2 or 3, etc.) diff --git a/templates/files.html b/templates/files.html index bf13ed7..330c3cb 100644 --- a/templates/files.html +++ b/templates/files.html @@ -245,14 +245,17 @@ function DelDBox(del_or_undel) - ` + ` + else + div+=` + '/restore_files', + success: function(data){ window.location='/'; return false; } })" class="btn btn-outline-success col-lg-2">Ok + + ` $('#dbox-content').html(div) $('#dbox').modal('show') }