mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-08-10 14:57:47 +00:00
combine if paths
we had the same actions for different if paths, now they are combined Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
065db62f9c
commit
eb751f7ab5
@ -71,10 +71,8 @@ Ext.define('PVE.window.HDMove', {
|
|||||||
listeners: {
|
listeners: {
|
||||||
change: function(f, value) {
|
change: function(f, value) {
|
||||||
var rec = f.store.getById(value);
|
var rec = f.store.getById(value);
|
||||||
if (rec.data.type === 'iscsi') {
|
if (rec.data.type === 'iscsi' ||
|
||||||
me.formatsel.setValue('raw');
|
rec.data.type === 'lvm' ||
|
||||||
me.formatsel.setDisabled(true);
|
|
||||||
} else if (rec.data.type === 'lvm' ||
|
|
||||||
rec.data.type === 'lvmthin' ||
|
rec.data.type === 'lvmthin' ||
|
||||||
rec.data.type === 'rbd' ||
|
rec.data.type === 'rbd' ||
|
||||||
rec.data.type === 'sheepdog' ||
|
rec.data.type === 'sheepdog' ||
|
||||||
|
Loading…
Reference in New Issue
Block a user