Commit Graph

11 Commits

Author SHA1 Message Date
Emmanuel Kasper
d5e771ce51 Rename 'create' to 'isCreate' in pveWindowEdit and subclasses
This fixes around 20 jslint type confusion warnings.
Also reduce the scope and document jslint warnings along the way.
No functional changes.
2017-03-02 10:36:35 +01:00
Fabian Grünbichler
4e31f56f0f fix #1230: add blocksize for ZFSPoolPlugin
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-01-03 12:56:33 +01:00
Wolfgang Link
9e9ab96f6d Sort all lists in the storage what we load dynamically.
It locks better if the lists are sorted.
Also if you have long list it makes working easier.
2016-10-06 08:08:51 +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
5ca0c804c6 remove displayfield height hack
this did not work anymore,
instead overwrite css for displayfields to have correct
min-height

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-04-06 16:29:35 +02:00
Dominik Csapak
177de3de1c ext6migrate: fix trailing whitespaces
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-10 17:24:53 +01:00
Dominik Csapak
2a82a5286b ext6migrate: fix zpool storage subject
the correct value is 'zfspool' not 'ZFS Storage'

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-10 17:24:05 +01:00
Dominik Csapak
c2317525f0 ext6migrate: fix dropboxes in Storage Edit windows
we fix this by moving the static configuration (especially value and
displayfield) to the class definition

also we remove the scrollbar hack (it works properly now)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-10 17:23:20 +01:00
Dominik Csapak
5198365d53 ext6migrate: change PVE.form.NodeSelector to pveNodeSelector
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2016-03-10 17:22:39 +01:00
Dietmar Maurer
6cbcc54638 copy storage/ZFSPoolEdit.js from manager to manager6 2016-03-08 11:22:43 +01:00