[Kimchi-devel] [PATCH] [Kimchi] Bug fix: Preserve "View Gallery" button location when opening Storage Volume actions menu
Daniel Henrique Barboza
danielhb at linux.vnet.ibm.com
Tue Mar 21 20:27:09 UTC 2017
Reviewed-by: Daniel Barboza <danielhb at linux.vnet.ibm.com>
On 03/21/2017 04:12 PM, Aline Manera wrote:
> The "View Gallery" button was being moved to left when opening the
> Storage Volume actions drop down menu.
> Fix it.
>
> Signed-off-by: Aline Manera <alinefm at linux.vnet.ibm.com>
> ---
> ui/js/src/kimchi.storage_main.js | 7 +------
> 1 file changed, 1 insertion(+), 6 deletions(-)
>
> diff --git a/ui/js/src/kimchi.storage_main.js b/ui/js/src/kimchi.storage_main.js
> index bfde50c..0429456 100644
> --- a/ui/js/src/kimchi.storage_main.js
> +++ b/ui/js/src/kimchi.storage_main.js
> @@ -1,7 +1,7 @@
> /*
> * Project Kimchi
> *
> - * Copyright IBM Corp, 2013-2016
> + * Copyright IBM Corp, 2013-2017
> *
> * Licensed under the Apache License, Version 2.0 (the 'License');
> * you may not use this file except in compliance with the License.
> @@ -640,11 +640,6 @@ kimchi.doListVolumes = function(poolObj) {
>
> $('.pool-action', volumeDiv).on('show.bs.dropdown', function () {
> $(volumeDiv).scrollTop(0);
> - $(this).css('position','absolute');
> - $('.toggle-gallery',volumeDiv).css({
> - 'position':'absolute',
> - 'margin-top': '1px'
> - });
> $(volumeDiv).bind('mousewheel DOMMouseScroll', function(e) {
> e.preventDefault();
> });
More information about the Kimchi-devel
mailing list