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:
ed 2023-10-18 20:57:53 +00:00
parent cda90c285e
commit 7d797dba3f

View file

@ -5956,7 +5956,8 @@ var treectl = (function () {
}
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>';
var ln = ['<tr><td>' + tn.lead + '</td><td><a href="' +