]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Utils.js
ui: improve console fallback logic if default is not available
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 12 Jul 2019 11:33:07 +0000 (13:33 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 12 Jul 2019 12:00:51 +0000 (14:00 +0200)
commitf932cffa890c4a37d7c279acf336da86ef4fcf7c
treea2e94e23db51feb631f0dbc1640bf083a40228a4
parent54453c387393cb130bfc58a04d012dcda84b52ce
ui: improve console fallback logic if default is not available

instead of instantly defaulting to novnc when the chosen
default is not available, try the other (better variant)
before falling back to novnc

e.g. having no default set is equivalent to having it set
to xtermjs, and having a vm with spice then previously
defaulted to novnc, now to spice (the reverse is also true)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/Utils.js