[pve-devel] applied: [PATCH manager] correctly parse iscsi content

Dominik Csapak d.csapak at proxmox.com
Fri May 18 12:25:02 CEST 2018


we parse the content as a list, so it is always an array

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
already applied
 www/manager6/storage/IScsiEdit.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager6/storage/IScsiEdit.js b/www/manager6/storage/IScsiEdit.js
index 6a7db2af..bebe3323 100644
--- a/www/manager6/storage/IScsiEdit.js
+++ b/www/manager6/storage/IScsiEdit.js
@@ -69,7 +69,7 @@ Ext.define('PVE.storage.IScsiInputPanel', {
     },
 
     setValues: function(values) {
-	values.luns = (values.content === 'images') ? true : false;
+	values.luns = (values.content.indexOf('images') !== -1) ? true : false;
 	this.callParent([values]);
     },
 
-- 
2.11.0





More information about the pve-devel mailing list