[pve-devel] [PATCH manager] jslint fixes
Dominik Csapak
d.csapak at proxmox.com
Wed Apr 25 11:37:49 CEST 2018
those found their way in during a rebase of my patches
Signed-off-by: Dominik Csapak <d.csapak at 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
More information about the pve-devel
mailing list