[Kimchi-devel] [PATCH 1/2] Bug fix: specify the class attribute when change pool state dot.
Aline Manera
alinefm at linux.vnet.ibm.com
Tue Mar 25 01:47:32 UTC 2014
Reviewed-by: Aline Manera <alinefm at linux.vnet.ibm.com>
On 03/24/2014 06:31 AM, shaohef at linux.vnet.ibm.com wrote:
> 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 {
More information about the Kimchi-devel
mailing list