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:
parent
9a72c41e1b
commit
13ce8193b4
@ -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();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user