Fixed VNC not giving back keyboard control after closing dialog

This commit is contained in:
Hector Sanjuan authored and Ruben S. Montero committed 2011-07-12 00:31:36 +02:00
1 parent 3d0aa2638e
commit 67ac6f6662
1 file changed
+1
@@ -1002,6 +1002,7 @@ function setupVNC(){
$( "#vnc_dialog" ).bind( "dialogclose", function(event, ui) {
var id = $("#vnc_dialog").attr("vm_id");
rfb.disconnect();
Sunstone.runAction("VM.stopvnc",id);
});