]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Utils.js
change hotplugselector to checkboxes
authorDominik Csapak <d.csapak@proxmox.com>
Wed, 11 May 2016 09:40:31 +0000 (11:40 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 17 May 2016 04:15:53 +0000 (06:15 +0200)
commit4dcca8a4037b7e21ea95503da0621c37ceb178b2
tree4d53e73f52ab306e7755f7dd188e05b3601a2453
parentee22d1cb388951cdc10d1c8a42d73b4cb3d549a6
change hotplugselector to checkboxes

the hotplugselector was not good to use,
and the options were confusing (empty was the default value, etc)

now we have checkboxes for each value, and if none are selected,
hotplug is disabled

also fixes the renderer when hotplug is set to '1' which
just means the default of 'disk,network,usb'

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