[Kimchi-devel] [PATCH] [Kimchi] Removed wok.confirm message when LVM pool is created

peterpnns at gmail.com peterpnns at gmail.com
Tue Feb 23 17:17:33 UTC 2016


From: peterpennings <peterpnns at gmail.com>

Signed-off-by: peterpennings <peterpnns at 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




More information about the Kimchi-devel mailing list