]> git.proxmox.com Git - pve-manager.git/blobdiff - www/manager6/Utils.js
fix doubleclick on vm with spice console
[pve-manager.git] / www / manager6 / Utils.js
index 21153ece82b7bfdf3d76e6d6cd59b94ca712cca9..c062b5912614ed50b624e7cea59f316ae522ad8b 100644 (file)
@@ -880,7 +880,7 @@ Ext.define('PVE.Utils', { utilities: {
                    Ext.Msg.alert('Error', response.htmlStatus);
                },
                success: function(response, opts) {
-                   var allowSpice = response.result.data.spice;
+                   var allowSpice = !!response.result.data.spice;
                    PVE.Utils.openDefaultConsoleWindow(allowSpice, 'kvm', vmid, nodename, vmname);
                }
            });