1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

Feature #2778: Fix vnc dialog

This commit is contained in:
Carlos Martín 2014-03-20 18:01:43 +01:00
parent 9a72c41e1b
commit 13ce8193b4

View File

@ -3396,6 +3396,8 @@ function setupVNC(){
dialog.addClass("reveal-modal large max-height").attr("data-reveal", "");
$vnc_dialog.foundation();
$('#sendCtrlAltDelButton',dialog).click(function(){
rfb.sendCtrlAltDel();
return false;
@ -3437,6 +3439,8 @@ function vncCallback(request,response){
$("#open_in_a_new_window").attr('href', url)
rfb.connect(proxy_host, proxy_port, pw, path);
$vnc_dialog.foundation("reveal", "open");
$vnc_dialog.off("closed");
$vnc_dialog.on("closed", function () {
rfb.disconnect();
});