]> git.proxmox.com Git - pve-manager.git/commitdiff
switch over default console viewer to xterm.js
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 Jun 2019 15:10:31 +0000 (17:10 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 Jun 2019 15:10:33 +0000 (17:10 +0200)
at least where possible, this affects mostly the node shell button.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/manager6/Utils.js

index 06d7b5fae3f95abc46a44448df25a866113f297f..9387c582348b58896c40b58e0ffbe4f887fd130f 100644 (file)
@@ -404,7 +404,7 @@ Ext.define('PVE.Utils', { utilities: {
     },
 
     console_map: {
-       '__default__': Proxmox.Utils.defaultText + ' (HTML5)',
+       '__default__': Proxmox.Utils.defaultText + ' (xterm.js)',
        'vv': 'SPICE (remote-viewer)',
        'html5': 'HTML5 (noVNC)',
        'xtermjs': 'xterm.js'
@@ -945,10 +945,9 @@ Ext.define('PVE.Utils', { utilities: {
            allowSpice = consoles.spice;
            allowXtermjs = !!consoles.xtermjs;
        }
-       var vncdefault = 'html5';
-       var dv = PVE.VersionInfo.console || vncdefault;
+       var dv = PVE.VersionInfo.console || 'xtermjs';
        if ((dv === 'vv' && !allowSpice) || (dv === 'xtermjs' && !allowXtermjs)) {
-           dv = vncdefault;
+           dv = 'html5';
        }
 
        return dv;