mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-25 12:29:12 -05:00
fix rdp port translation
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
936aaa0b2b
commit
af3e7f6186
@ -9007,7 +9007,7 @@
|
|||||||
QE('connectbutton1', online);
|
QE('connectbutton1', online);
|
||||||
QE('connectbutton1r', online || (currentNode.mtype == 3));
|
QE('connectbutton1r', online || (currentNode.mtype == 3));
|
||||||
if (currentNode.rdpport && currentNode.rdpport != 3389) {
|
if (currentNode.rdpport && currentNode.rdpport != 3389) {
|
||||||
QH('desktopCustomUpperRight', '<a style="cursor:pointer;line-height:22px" onclick="cmaltportaction(1,event)">RDP Port ' + currentNode.rdpport + '</a>');
|
QH('desktopCustomUpperRight', '<a style="cursor:pointer;line-height:22px" onclick="cmaltportaction(1,event)">' + format("RDP Port {0}", (currentNode.rdpport?currentNode.rdpport:3389)) + '</a>');
|
||||||
} else {
|
} else {
|
||||||
QH('desktopCustomUpperRight', '');
|
QH('desktopCustomUpperRight', '');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user