mirror of
https://github.com/9001/copyparty.git
synced 2025-08-20 02:12:20 -06:00
locale-aware sorting of the navpane too
This commit is contained in:
parent
79629c430a
commit
527ae0348e
|
@ -3429,7 +3429,7 @@ var treectl = (function () {
|
||||||
}
|
}
|
||||||
delete res['a'];
|
delete res['a'];
|
||||||
var keys = Object.keys(res);
|
var keys = Object.keys(res);
|
||||||
keys.sort();
|
keys.sort(function (a, b) { return a.localeCompare(b); });
|
||||||
for (var a = 0; a < keys.length; a++) {
|
for (var a = 0; a < keys.length; a++) {
|
||||||
var kk = keys[a],
|
var kk = keys[a],
|
||||||
ks = kk.slice(1),
|
ks = kk.slice(1),
|
||||||
|
|
Loading…
Reference in a new issue