incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From olgasmola <olya.sm...@gmail.com>
Subject [PATCH] CS-15393: Scroll bar fix when any point is selected.
Date Thu, 01 Jan 1970 00:00:00 GMT
---
 ui/scripts/ui/widgets/cloudBrowser.js |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/ui/scripts/ui/widgets/cloudBrowser.js b/ui/scripts/ui/widgets/cloudBrowser.js
index c83527d..2c518cb 100644
--- a/ui/scripts/ui/widgets/cloudBrowser.js
+++ b/ui/scripts/ui/widgets/cloudBrowser.js
@@ -271,6 +271,7 @@
       var $panel = args.panel;
       var $container = this.element;
       var $toHide = $panel.siblings(':not(.always-maximized)');
+      var $shadow = $toHide.find('div.shadow');
 
       if (args.panel.hasClass('maximized')) {
         _breadcrumb.filter($panel).removeClass('maximized');
@@ -279,6 +280,7 @@
         _breadcrumb.filter($panel.siblings()).find('span').animate({ opacity: 1 });
         $toHide.animate({ left: _panel.position($container, {}) },
                         { duration: 500 });
+        $shadow.show();
       } else {
         _breadcrumb.filter($panel).addClass('maximized');
         $panel.removeClass('reduced');
@@ -286,6 +288,7 @@
         _breadcrumb.filter($panel.siblings()).find('span').animate({ opacity: 0.5 });
         $toHide.animate(_panel.initialState($container),
                         { duration: 500 });
+        $shadow.hide();
       }
     },
 
-- 
1.7.10.msysgit.1




Mime
View raw message