You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pr...@apache.org on 2012/11/01 20:35:16 UTC

git commit: CS-16630:UI freeze when accessing the Ip Addresses tab , when we are in the configuration of one of the ip addresses

Updated Branches:
  refs/heads/master 53072af8f -> ed26f6986


CS-16630:UI freeze when accessing the Ip Addresses tab , when we are in the configuration of one of the ip addresses


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

Branch: refs/heads/master
Commit: ed26f69868a56c85b3bf95e864aaaa6371daca27
Parents: 53072af
Author: Pranav Saxena <pr...@citrix.com>
Authored: Fri Nov 2 01:04:49 2012 +0530
Committer: Pranav Saxena <pr...@citrix.com>
Committed: Fri Nov 2 01:04:49 2012 +0530

----------------------------------------------------------------------
 ui/scripts/ui/widgets/cloudBrowser.js |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/ed26f698/ui/scripts/ui/widgets/cloudBrowser.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/cloudBrowser.js b/ui/scripts/ui/widgets/cloudBrowser.js
index 47fbd0a..9a56bb3 100644
--- a/ui/scripts/ui/widgets/cloudBrowser.js
+++ b/ui/scripts/ui/widgets/cloudBrowser.js
@@ -349,6 +349,11 @@
     'cloudBrowser',
     {
       'breadcrumb': function($target, $browser, data) {
+
+        if ($ ('#browser').hasClass('panel-highlight')) {
+          return false;
+          }
+
         $browser.cloudBrowser('selectPanel', { panel: data.panel });
       }
     }