cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bfede...@apache.org
Subject git commit: updated refs/heads/master to af37743
Date Tue, 12 Aug 2014 18:38:45 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 97ecd5575 -> af3774304


CLOUDSTACK-7302: UI: Remove Hover Interaction from breadcrumbs at top page

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>


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

Branch: refs/heads/master
Commit: af377430453ecf1fb9b44ed3e29541b7f20ce5d5
Parents: 97ecd55
Author: Mihaela Stoica <mihaela.stoica@citrix.com>
Authored: Mon Aug 11 08:58:04 2014 +0100
Committer: Brian Federle <bfederle@gmail.com>
Committed: Tue Aug 12 11:36:45 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/af377430/ui/scripts/ui/widgets/cloudBrowser.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/cloudBrowser.js b/ui/scripts/ui/widgets/cloudBrowser.js
index 31ac533..007025b 100644
--- a/ui/scripts/ui/widgets/cloudBrowser.js
+++ b/ui/scripts/ui/widgets/cloudBrowser.js
@@ -346,73 +346,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