[Kimchi-devel] [PATCH 1/2] Bug fix: specify the class attribute when change pool state dot.

shaohef at linux.vnet.ibm.com shaohef at linux.vnet.ibm.com
Mon Mar 24 09:31:30 UTC 2014


From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>

After we list the storage pools, it will change other element with the
same class attribute in other page.

Signed-off-by: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
Signed-off-by: Hongliang Wang <hlwang at linux.vnet.ibm.com>
---
 ui/js/src/kimchi.storage_main.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/js/src/kimchi.storage_main.js b/ui/js/src/kimchi.storage_main.js
index c2c721d..6052510 100644
--- a/ui/js/src/kimchi.storage_main.js
+++ b/ui/js/src/kimchi.storage_main.js
@@ -49,7 +49,7 @@ kimchi.storageBindClick = function() {
         }
     });
 
-    $('.active').each(function(index) {
+    $('.list-storage .storage-state .active').each(function(index) {
         if ('active' === $(this).data('state')) {
             $(this).show();
         } else {
-- 
1.8.5.3




More information about the Kimchi-devel mailing list