those found their way in during a rebase of my patches

Signed-off-by: Dominik Csapak <d.csa...@proxmox.com>
---
 www/manager6/Utils.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager6/Utils.js b/www/manager6/Utils.js
index d0de3829..b61e8b32 100644
--- a/www/manager6/Utils.js
+++ b/www/manager6/Utils.js
@@ -282,7 +282,7 @@ Ext.define('PVE.Utils', { utilities: {
        '__default__': Proxmox.Utils.defaultText + ' (HTML5)',
        'vv': 'SPICE (remote-viewer)',
        'html5': 'HTML5 (noVNC)',
-       'xtermjs': 'xterm.js',
+       'xtermjs': 'xterm.js'
     },
 
     render_console_viewer: function(value) {
@@ -777,7 +777,7 @@ Ext.define('PVE.Utils', { utilities: {
            allowXtermjs = true;
        } else if (typeof consoles === 'object') {
            allowSpice = consoles.spice;
-           allowXtermjs = consoles.xtermjs;
+           allowXtermjs = !!consoles.xtermjs;
        }
        var vncdefault = 'html5';
        var dv = PVE.VersionInfo.console || vncdefault;
-- 
2.11.0


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to