From d43cb5cc8c80a4c44b6dffbf17d2e73fcd78acf7 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 6 Dec 2011 11:06:00 -0800 Subject: [PATCH] bug 12368 Ability to select new project, by clicking on 'Project View' again, after an existing project is active. --- ui/scripts/ui/core.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/ui/scripts/ui/core.js b/ui/scripts/ui/core.js index bec3dae4b9a..f9be4e10ca9 100644 --- a/ui/scripts/ui/core.js +++ b/ui/scripts/ui/core.js @@ -124,8 +124,6 @@ var $projectSwitcher = $(this); var $container = $('html body'); - if ($target.hasClass('active')) return false; - if ($target.closest('.select.project-view').size()) { $('#cloudStack3-container').addClass('project-view'); $projectSwitcher.addClass('alt');