From 9fe9ef9328e30f6db0564002d4f686c9040c1cc3 Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Tue, 22 Apr 2014 15:32:10 +0200 Subject: [PATCH] feature #2842: Auto close openvnc popup when "full screen" (openvcn console in new tab) is requested --- src/sunstone/public/js/plugins/vms-tab.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sunstone/public/js/plugins/vms-tab.js b/src/sunstone/public/js/plugins/vms-tab.js index bce3483639..1a69b4b095 100644 --- a/src/sunstone/public/js/plugins/vms-tab.js +++ b/src/sunstone/public/js/plugins/vms-tab.js @@ -3357,6 +3357,10 @@ function setupVNC(){ $vnc_dialog.foundation(); + $("#open_in_a_new_window", dialog).on("click", function(){ + $vnc_dialog.foundation('reveal', 'close'); + }); + $('#sendCtrlAltDelButton',dialog).click(function(){ rfb.sendCtrlAltDel(); return false;