[pve-devel] [PATCH 5/7] fix bootorder rendering

Alexandre Derumier aderumier at odiso.com
Fri Jan 2 15:18:08 CET 2015


Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 www/manager/qemu/Options.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/www/manager/qemu/Options.js b/www/manager/qemu/Options.js
index 3faa895..49e8641 100644
--- a/www/manager/qemu/Options.js
+++ b/www/manager/qemu/Options.js
@@ -74,10 +74,10 @@ Ext.define('PVE.qemu.Options', {
 		header: gettext('Boot order'),
 		defaultValue: 'cdn',
 		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 text = '';
-		    var bootdisk = me.getObjectValue('bootdisk');
+		    var bootdisk = me.getObjectValue('bootdisk', undefined, pending);
 		    order = order || 'cdn';
 		    for (i = 0; i < order.length; i++) {
 			var sel = order.substring(i, i + 1);
-- 
1.7.10.4




More information about the pve-devel mailing list