Commit aacbc887 authored by Alexandre Derumier's avatar Alexandre Derumier Committed by Dietmar Maurer

disable format selection for rbd, sheepdog, nexenta

Signed-off-by: 's avatarAlexandre Derumier <aderumier@odiso.com>
parent 692a9054
...@@ -191,7 +191,11 @@ Ext.define('PVE.qemu.HDInputPanel', { ...@@ -191,7 +191,11 @@ Ext.define('PVE.qemu.HDInputPanel', {
me.hdfilesel.setVisible(true); me.hdfilesel.setVisible(true);
me.hdsizesel.setDisabled(true); me.hdsizesel.setDisabled(true);
me.hdsizesel.setVisible(false); me.hdsizesel.setVisible(false);
} else if (rec.data.type === 'lvm') { } else if (rec.data.type === 'lvm' ||
rec.data.type === 'rbd' ||
rec.data.type === 'sheepdog' ||
rec.data.type === 'nexenta'
) {
me.hdfilesel.setDisabled(true); me.hdfilesel.setDisabled(true);
me.hdfilesel.setVisible(false); me.hdfilesel.setVisible(false);
me.formatsel.setValue('raw'); me.formatsel.setValue('raw');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment