mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
spin on thumbnails too
This commit is contained in:
parent
1d824cb26c
commit
5cba31a814
|
@ -965,7 +965,7 @@ document.onkeydown = function (e) {
|
||||||
if (k == 'KeyT')
|
if (k == 'KeyT')
|
||||||
return ebi('thumbs').click();
|
return ebi('thumbs').click();
|
||||||
|
|
||||||
if (window['thegrid'] && thegrid.en) {
|
if (thegrid.en) {
|
||||||
if (k == 'KeyS')
|
if (k == 'KeyS')
|
||||||
return ebi('gridsel').click();
|
return ebi('gridsel').click();
|
||||||
|
|
||||||
|
@ -1437,7 +1437,7 @@ var treectl = (function () {
|
||||||
if (hpush)
|
if (hpush)
|
||||||
get_tree('.', xhr.top);
|
get_tree('.', xhr.top);
|
||||||
|
|
||||||
enspin('#files');
|
enspin(thegrid.en ? '#gfiles' : '#files');
|
||||||
}
|
}
|
||||||
|
|
||||||
function treegrow(e) {
|
function treegrow(e) {
|
||||||
|
@ -1517,6 +1517,7 @@ var treectl = (function () {
|
||||||
|
|
||||||
apply_perms(res.perms);
|
apply_perms(res.perms);
|
||||||
despin('#files');
|
despin('#files');
|
||||||
|
despin('#gfiles');
|
||||||
|
|
||||||
ebi('pro').innerHTML = res.logues ? res.logues[0] || "" : "";
|
ebi('pro').innerHTML = res.logues ? res.logues[0] || "" : "";
|
||||||
ebi('epi').innerHTML = res.logues ? res.logues[1] || "" : "";
|
ebi('epi').innerHTML = res.logues ? res.logues[1] || "" : "";
|
||||||
|
@ -2051,8 +2052,7 @@ var msel = (function () {
|
||||||
}
|
}
|
||||||
function selui() {
|
function selui() {
|
||||||
clmod(ebi('wtoggle'), 'sel', getsel().length);
|
clmod(ebi('wtoggle'), 'sel', getsel().length);
|
||||||
if (window['thegrid'])
|
thegrid.loadsel();
|
||||||
thegrid.loadsel();
|
|
||||||
}
|
}
|
||||||
function seltgl(e) {
|
function seltgl(e) {
|
||||||
ev(e);
|
ev(e);
|
||||||
|
|
Loading…
Reference in a new issue