[pve-devel] applied: [PATCH manager] jslint fixes
Thomas Lamprecht
t.lamprecht at proxmox.com
Wed Apr 25 12:08:34 CEST 2018
applied
On 4/25/18 11:37 AM, Dominik Csapak wrote:
> 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;
>
More information about the pve-devel
mailing list