[pve-devel] [PATCH pve-manager] Fix at GUI in RDB storage add:

Wolfgang Link w.link at proxmox.com
Wed Oct 28 09:28:23 CET 2015


Select more then one item is possible.
Also set krdb default as checked because it makes no sense to have default container selected without krdb.
---
 www/manager/storage/RBDEdit.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/manager/storage/RBDEdit.js b/www/manager/storage/RBDEdit.js
index d36c426..1968b68 100644
--- a/www/manager/storage/RBDEdit.js
+++ b/www/manager/storage/RBDEdit.js
@@ -6,7 +6,6 @@ Ext.define('PVE.storage.RBDInputPanel', {
 
 	if (me.create) {
 	    values.type = 'rbd';
-            values.content = 'images';
 
 	} else {
 	    delete values.storage;
@@ -78,6 +77,7 @@ Ext.define('PVE.storage.RBDInputPanel', {
 	    {
 		xtype: 'pvecheckbox',
 		name: 'krbd',
+		checked: 1,
 		uncheckedValue: 0,
 		fieldLabel: gettext('KRBD')
 	    }
-- 
2.1.4





More information about the pve-devel mailing list