mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-23 06:34:54 +03:00
fix 2nd line also showing drive name #1892
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
b887457ec4
commit
e6f27fca36
@ -11058,7 +11058,7 @@
|
||||
h = '<div class=filelist file=999>';
|
||||
h += '<input file=999 style=float:left name=fd class=fcb type=checkbox onchange=p13setActions() value=\'' + f.nx + '\'> <span style=float:right title="' + title + '">' + right + '</span>';
|
||||
h += '<span><div class=fileIcon' + (f.dt == 'REMOVABLE' ? 5 : (f.dt == 'CDROM' ? 6 : f.t)) + ' onclick=p13folderset("' + encodeURIComponentEx(f.nx) + '")></div><a href=# style=cursor:pointer onclick=\'return p13folderset("' + encodeURIComponentEx(f.nx) + '")\'>';
|
||||
if (isWindowsNode(currentNode) && currentNode.volumes && currentNode.volumes[shortname.charAt(0).toUpperCase()] && currentNode.volumes[shortname.charAt(0).toUpperCase()].name) {
|
||||
if (isWindowsNode(currentNode) && f.dt && currentNode.volumes && currentNode.volumes[shortname.charAt(0).toUpperCase()] && currentNode.volumes[shortname.charAt(0).toUpperCase()].name) {
|
||||
h += currentNode.volumes[shortname.charAt(0).toUpperCase()].name + " (" + shortname + ")";
|
||||
} else {
|
||||
h += shortname;
|
||||
|
Loading…
Reference in New Issue
Block a user