]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/window/Settings.js
ui: fix novnc scaling radio buttons
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 11 Jan 2022 10:26:21 +0000 (11:26 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 11 Jan 2022 15:32:50 +0000 (16:32 +0100)
commit07195aa079c4ed77866ee4c6af77436b7c2a2e06
tree5cc13ee506e8cc5692e4b3aec047e62c45cfbc3b
parent02651425d91b6dc79326306f5556d215f49d48c4
ui: fix novnc scaling radio buttons

when having selected 'off', the next start of the window has both
radiobuttons selected and no change is possible anymore. It seems that
the 'checked: true' triggers only after the 'init' function.

So instead remove the 'checked: true', and add the default in the init
function.

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