mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 01:22:13 -06:00
strip filekeys from -txt- links;
accessing the syntax hilighter using a filekey is impossible anyways because the client expects to build its state from the folder listing and the backend refuses to return a listing given just a filekey
This commit is contained in:
parent
cda90c285e
commit
7d797dba3f
|
@ -5956,7 +5956,8 @@ var treectl = (function () {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tn.lead == '-')
|
if (tn.lead == '-')
|
||||||
tn.lead = '<a href="?doc=' + tn.href + '" class="doc' + (lang ? ' bri' : '') +
|
tn.lead = '<a href="?doc=' + bhref +
|
||||||
|
'" class="doc' + (lang ? ' bri' : '') +
|
||||||
'" hl="' + id + '" name="' + hname + '">-txt-</a>';
|
'" hl="' + id + '" name="' + hname + '">-txt-</a>';
|
||||||
|
|
||||||
var ln = ['<tr><td>' + tn.lead + '</td><td><a href="' +
|
var ln = ['<tr><td>' + tn.lead + '</td><td><a href="' +
|
||||||
|
|
Loading…
Reference in a new issue