You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2014/01/28 20:54:15 UTC

git commit: updated refs/heads/master to 25d8e3d

Updated Branches:
  refs/heads/master 23f3047e7 -> 25d8e3d7d


Browser UI: Fix broken breadcrumb navigation

Fix breadcrumb navigation becoming stuck when going back a couple
levels, due to previous panels not being removed from the DOM


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

Branch: refs/heads/master
Commit: 25d8e3d7dbd2b08b521deaea9fa7ebfc7172b1a9
Parents: 23f3047
Author: Brian Federle <br...@citrix.com>
Authored: Tue Jan 28 11:53:39 2014 -0800
Committer: Brian Federle <br...@citrix.com>
Committed: Tue Jan 28 11:54:12 2014 -0800

----------------------------------------------------------------------
 ui/scripts/ui/widgets/cloudBrowser.js | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/25d8e3d7/ui/scripts/ui/widgets/cloudBrowser.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/cloudBrowser.js b/ui/scripts/ui/widgets/cloudBrowser.js
index ffb5f15..31ac533 100644
--- a/ui/scripts/ui/widgets/cloudBrowser.js
+++ b/ui/scripts/ui/widgets/cloudBrowser.js
@@ -205,16 +205,7 @@
                 .addClass('reduced')
             ).removeClass('active maximized');
 
-            $toRemove.css(
-                _panel.initialState($container), {
-                    duration: 500,
-                    complete: function() {
-                        $(this).remove();
-
-                        if (complete) complete($toShow);
-                    }
-                }
-            );
+            $toRemove.remove();
             $toShow.show();
             $panel.css({
                 left: _panel.position($container, {