vnc scaling: still fallback to old default value if not set
as else we change behavior for those who never set the new scaling variable, or cleared the browser local store. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
26fcae336c
commit
635cc133e0
@ -967,7 +967,7 @@ Ext.define('PVE.Utils', { utilities: {
|
||||
vmid: vmid,
|
||||
vmname: vmname,
|
||||
node: nodename,
|
||||
resize: sp.get('novnc-scaling'),
|
||||
resize: sp.get('novnc-scaling', 'off'),
|
||||
cmd: cmd
|
||||
});
|
||||
var nw = window.open("?" + url, '_blank', "innerWidth=745,innerheight=427");
|
||||
|
@ -47,7 +47,7 @@ Ext.define('PVE.noVncConsole', {
|
||||
vmid: me.vmid,
|
||||
node: me.nodename,
|
||||
cmd: me.cmd,
|
||||
resize: sp.get('novnc-scaling'),
|
||||
resize: sp.get('novnc-scaling', 'scale'),
|
||||
};
|
||||
queryDict[type] = 1;
|
||||
PVE.Utils.cleanEmptyObjectKeys(queryDict);
|
||||
|
Loading…
x
Reference in New Issue
Block a user