Commit 6e96ae42 authored by Alexandre Derumier's avatar Alexandre Derumier Committed by Dietmar Maurer

fix bootorder rendering

Signed-off-by: 's avatarAlexandre Derumier <aderumier@odiso.com>
parent 180cc332
...@@ -74,10 +74,10 @@ Ext.define('PVE.qemu.Options', { ...@@ -74,10 +74,10 @@ Ext.define('PVE.qemu.Options', {
header: gettext('Boot order'), header: gettext('Boot order'),
defaultValue: 'cdn', defaultValue: 'cdn',
editor: caps.vms['VM.Config.Disk'] ? 'PVE.qemu.BootOrderEdit' : undefined, editor: caps.vms['VM.Config.Disk'] ? 'PVE.qemu.BootOrderEdit' : undefined,
renderer: function(order) { renderer: function(order, metaData, record, rowIndex, colIndex, store, pending) {
var i; var i;
var text = ''; var text = '';
var bootdisk = me.getObjectValue('bootdisk'); var bootdisk = me.getObjectValue('bootdisk', undefined, pending);
order = order || 'cdn'; order = order || 'cdn';
for (i = 0; i < order.length; i++) { for (i = 0; i < order.length; i++) {
var sel = order.substring(i, i + 1); var sel = order.substring(i, i + 1);
......
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