From: ShaoHe Feng <shaohef(a)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(a)linux.vnet.ibm.com>
Signed-off-by: Hongliang Wang <hlwang(a)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