From: peterpennings <peterpnns(a)gmail.com>
Signed-off-by: peterpennings <peterpnns(a)gmail.com>
---
ui/js/src/kimchi.storagepool_add_main.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/src/kimchi.storagepool_add_main.js
b/ui/js/src/kimchi.storagepool_add_main.js
index 3ba4bc9..4d7fd90 100644
--- a/ui/js/src/kimchi.storagepool_add_main.js
+++ b/ui/js/src/kimchi.storagepool_add_main.js
@@ -491,7 +491,7 @@ kimchi.addPool = function(event) {
$('#pool-doAdd').show();
});
};
- if (poolType === 'logical') {
+ if (poolType === 'logical' &&
$("input[name='logicalRadioSelection']:checked").val() ===
'rawDisk') {
var settings = {
title : i18n['KCHAPI6001M'],
content : i18n['KCHPOOL6003M'],
--
2.5.0