summaryrefslogtreecommitdiffstats
path: root/js
diff options
context:
space:
mode:
authorNicholas Pitt <ngpitt@xphysics.net>2015-08-03 19:48:34 -0400
committerNicholas Pitt <ngpitt@xphysics.net>2015-08-03 19:48:34 -0400
commit8a487b95c5ce11e2d31ed0611c138870966a6d9b (patch)
treed5544e9db722870b9994249835f326cc987cf850 /js
parentd0e78135f649498f047fe0dc096688e9e053411c (diff)
downloadphpvirtualbox-8a487b95c5ce11e2d31ed0611c138870966a6d9b.zip
phpvirtualbox-8a487b95c5ce11e2d31ed0611c138870966a6d9b.tar.gz
phpvirtualbox-8a487b95c5ce11e2d31ed0611c138870966a6d9b.tar.bz2
Fixed the link to rdp.php
Diffstat (limited to 'js')
-rw-r--r--js/phpvirtualbox.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/phpvirtualbox.js b/js/phpvirtualbox.js
index c6628ab..8837dc7 100644
--- a/js/phpvirtualbox.js
+++ b/js/phpvirtualbox.js
@@ -923,7 +923,7 @@ var vboxVMDetailsSections = {
// RDP
} else if(d['VRDEServer']['VRDEExtPack'].indexOf("VNC") == -1) {
- rowStr = " <a href='rdp.php?host=" + chost + '&port=' + d['VRDEServerInfo']['port'] + "&id=" + d['id'] + "&vm=" + encodeURIComponent(d['name']) + "'>" + d['VRDEServerInfo']['port'] + "</a>";
+ rowStr = " <a href='" + vboxEndpointConfig.rdpGen + "?host=" + chost + '&port=' + d['VRDEServerInfo']['port'] + "&id=" + d['id'] + "&vm=" + encodeURIComponent(d['name']) + "'>" + d['VRDEServerInfo']['port'] + "</a>";
rowStr += ' <img src="images/vbox/blank.gif" style="vspace:0px;hspace:0px;height2px;width:10px;" /> (' + chost + ':' + d['VRDEServerInfo']['port'] + ')';
// VNC
} else {