cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject [15/18] git commit: updated refs/heads/4.3 to b8a28df
Date Tue, 25 Nov 2014 14:51:51 GMT
CLOUDSTACK-7302: UI: Remove Hover Interaction from breadcrumbs at top page

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
(cherry picked from commit af377430453ecf1fb9b44ed3e29541b7f20ce5d5)
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/fa300f9f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/fa300f9f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/fa300f9f

Branch: refs/heads/4.3
Commit: fa300f9f5e0017f05b13a20688b6311bc8d63173
Parents: 7dbafba
Author: Mihaela Stoica <mihaela.stoica@citrix.com>
Authored: Mon Aug 11 08:58:04 2014 +0100
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Tue Nov 25 19:34:39 2014 +0530

----------------------------------------------------------------------
 ui/scripts/ui/widgets/cloudBrowser.js | 69 ------------------------------
 1 file changed, 69 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/fa300f9f/ui/scripts/ui/widgets/cloudBrowser.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/cloudBrowser.js b/ui/scripts/ui/widgets/cloudBrowser.js
index ffb5f15..2dcec10 100644
--- a/ui/scripts/ui/widgets/cloudBrowser.js
+++ b/ui/scripts/ui/widgets/cloudBrowser.js
@@ -355,73 +355,4 @@
             }
         }
     ));
-
-    // Breadcrumb hovering
-    $('#breadcrumbs li').live('mouseover', cloudStack.ui.event.bind(
-        'cloudBrowser', {
-            'breadcrumb': function($target, $browser, data) {
-                var $hiddenPanels = data.panel.siblings().filter(function() {
-                    return $(this).index() > data.panel.index();
-                });
-                var $targetPanel = data.panel.filter(':first');
-                var $targetBreadcrumb = _breadcrumb.filter($targetPanel);
-                var $panelWrapper = $('<div>').addClass('panel panel-highlight-wrapper');
-
-                $hiddenPanels.addClass('mouseover-hidden');
-
-                $browser.data('browser-panel-highlight-timer', setTimeout(function() {
-                    $('#browser').addClass('panel-highlight');
-                    $('.overlay').remove();
-
-                    // Setup panel and wrapper positioning
-                    $panelWrapper
-                        .css({
-                            left: $targetPanel.position().left
-                        })
-                        .width($targetPanel.width());
-                    $targetPanel
-                        .wrap($panelWrapper);
-                    $panelWrapper
-                        .zIndex(10000)
-                        .overlay();
-                    $targetPanel.filter(':last').addClass('highlighted');
-
-                    // Setup breadcrumbs
-                    $targetBreadcrumb.each(function() {
-                        $(this).data('breadcrumb-original-zindex', $(this).zIndex());
-                    });
-                    $targetBreadcrumb.zIndex(10001);
-
-                    $hiddenPanels.hide();
-                }, 1000));
-            }
-        }
-    ));
-
-    $('#breadcrumbs li').live('mouseout', cloudStack.ui.event.bind(
-        'cloudBrowser', {
-            'breadcrumb': function($target, $browser, data) {
-                var $getHiddenPanels = $browser.find('.panel.mouseover-hidden');
-                var $visiblePanels = $getHiddenPanels.siblings();
-                var $visibleBreadcrumbs = _breadcrumb.filter($visiblePanels);
-
-                clearTimeout($browser.data('browser-panel-highlight-timer'));
-                $('#browser').removeClass('panel-highlight');
-                $('#browser .panel').removeClass('highlighted');
-                $('#browser .panel.panel-highlight-wrapper').each(function() {
-                    var $wrapper = $(this);
-                    var $panel = $wrapper.find('.panel');
-
-                    $wrapper.after($panel);
-                    $wrapper.remove();
-                });
-                $getHiddenPanels.removeClass('mouseover-hidden').show();
-                $visibleBreadcrumbs.each(function() {
-                    $(this).zIndex($(this).data('breadcrumb-original-zindex'));
-                });
-                $('.overlay').remove();
-                $('#browser .panel > .highlight-arrow').remove();
-            }
-        }
-    ));
 })(jQuery, cloudStack);


Mime
View raw message