9 Commits

Author SHA1 Message Date
Thomas Lamprecht
09cacce778 use KVCombobox from widget toolkit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
2018-01-25 13:36:38 +01:00
Dominik Csapak
e7ade592e3 use Proxmox.Utils instead of PVE.Utils
some function are now in Proxmox.Utils instead, so we have to use that

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-01-25 13:36:38 +01:00
Emmanuel Kasper
98a01af2a8 Add regexp to match a bus entry in a VM config 2016-10-07 07:01:36 +02:00
Dominik Csapak
22f2f9d6c0 jslint: remove trailing commas
before ECMA5 trailing commas in arrays and objects
are forbidden

in jslint this is an error and cannot be deactivated

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:06:34 +02:00
Dominik Csapak
ec0bd652db jslint: fix type confusion and property access
fix various type confusion, for example:
items: {} and items: []
style: string and style: {}

also fix object['property'] access with
object.property

also fix /=/ with either '=' or /\=/ where appropriate
(/=/ can be confused with /= according to jslint)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-29 17:06:23 +02:00
Dominik Csapak
4edfc518b9 refactor bootdisk test and prevent multiple bootdisks
refactor the test for the bootdisk, to make future changes easier,
also, only allow one bootdisk to be selected

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-25 11:19:49 +02:00
Dominik Csapak
9e7b4d8dc5 fix #943: allow saving of values
we mistakenly did not reset the originalvalues after the inital
load, which meant that on reset we would not get the correct values

furthermore we have to suspend only the change event and not all,
otherwise the functions for enabling/disabling the ok/reset buttons
do not trigger (on validitychange and dirtychange)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-25 11:18:57 +02:00
Dominik Csapak
adaac36f72 fix #181: rewrite Boot Order Window
changed the way the boot order selection behaves:

now when choosing a value which already is chosen elsewhere,
switch them

also when assigning any device as none, move the remaining devices up

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-15 09:42:33 +02:00
Dietmar Maurer
638a57e735 copy qemu/BootOrderEdit.js from manager to manager6 2016-03-16 09:12:21 +01:00