mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-14 12:01:52 +00:00
fix rdp port translation
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
936aaa0b2b
commit
af3e7f6186
1 changed files with 1 additions and 1 deletions
|
@ -9007,7 +9007,7 @@
|
|||
QE('connectbutton1', online);
|
||||
QE('connectbutton1r', online || (currentNode.mtype == 3));
|
||||
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 {
|
||||
QH('desktopCustomUpperRight', '');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue