From 524a3ba566050504bdf6e141374f9a3affff87ad Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 9 Sep 2021 00:41:23 +0200 Subject: [PATCH] actually this is better --- copyparty/web/browser.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 0a60d0b9..e59f03fb 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -199,7 +199,7 @@ ebi('tree').innerHTML = ( function opclick(e) { var dest = this.getAttribute('data-dest'); - if (dest != 'unpost' && QS('#op_' + dest + '.act')) + if (QS('#op_' + dest + '.act')) dest = ''; swrite('opmode', dest || null); @@ -4169,7 +4169,7 @@ function ev_row_tgl(e) { var unpost = (function () { ebi('op_unpost').innerHTML = ( - "you can delete your recent uploads below – click the fire-extinguisher icon to refresh" + + 'you can delete your recent uploads below – refresh list' + '

optional filter:  URL must contain clear filter

' + '
' ); @@ -4314,6 +4314,11 @@ var unpost = (function () { r.load(); }; + ebi('unpost_refresh').onclick = function (e) { + ev(e); + goto('unpost'); + }; + return r; })();