mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 09:02:15 -06:00
actually this is better
This commit is contained in:
parent
58580320f9
commit
524a3ba566
|
@ -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 – <a id="unpost_refresh" href="#">refresh list</a>' +
|
||||
'<p>optional filter: URL must contain <input type="text" id="unpost_filt" size="20" /><a id="unpost_nofilt" href="#">clear filter</a></p>' +
|
||||
'<div id="unpost"></div>'
|
||||
);
|
||||
|
@ -4314,6 +4314,11 @@ var unpost = (function () {
|
|||
r.load();
|
||||
};
|
||||
|
||||
ebi('unpost_refresh').onclick = function (e) {
|
||||
ev(e);
|
||||
goto('unpost');
|
||||
};
|
||||
|
||||
return r;
|
||||
})();
|
||||
|
||||
|
|
Loading…
Reference in a new issue