diff --git a/ui/new/index.jsp b/ui/new/index.jsp index c570080bbfc..99f9266e604 100644 --- a/ui/new/index.jsp +++ b/ui/new/index.jsp @@ -303,7 +303,7 @@ long milliseconds = new Date().getTime();
-
+
Instance
<%=t.t("instance")%> @@ -329,7 +329,7 @@ long milliseconds = new Date().getTime();
-
+
Storage
<%=t.t("storage")%> @@ -363,7 +363,7 @@ long milliseconds = new Date().getTime();
-
+
Network
<%=t.t("Network")%> @@ -385,7 +385,7 @@ long milliseconds = new Date().getTime();
-
+
Template
<%=t.t("template")%> @@ -487,7 +487,7 @@ long milliseconds = new Date().getTime();
- +
Account
<%=t.t("account")%> @@ -498,7 +498,7 @@ long milliseconds = new Date().getTime();
-
+
Domain
<%=t.t("domain")%> @@ -512,7 +512,7 @@ long milliseconds = new Date().getTime();
-
+
Event
<%=t.t("event")%> @@ -544,7 +544,7 @@ long milliseconds = new Date().getTime();
-
+
System
<%=t.t("system")%> diff --git a/ui/new/scripts/cloud.core2.init.js b/ui/new/scripts/cloud.core2.init.js index 0146ccdad81..8cfcbc32ba0 100644 --- a/ui/new/scripts/cloud.core2.init.js +++ b/ui/new/scripts/cloud.core2.init.js @@ -17,6 +17,17 @@ */ $(document).ready(function() { + $(".leftmenu_content_flevel").hover( + function() { + $(this).find(".leftmenu_arrows_firstlevel_open").show(); + }, + function() { + if ($selectedLeftMenu.attr("id") != $(this).attr("id")) { + $(this).find(".leftmenu_arrows_firstlevel_open").hide(); + } + } + ); + // Setup first level navigation $("#leftmenu_dashboard").bind("click", function(event) { selectLeftMenu($(this)); diff --git a/ui/new/scripts/cloud.core2.js b/ui/new/scripts/cloud.core2.js index 5da05e05a9b..9f039f6d1e8 100644 --- a/ui/new/scripts/cloud.core2.js +++ b/ui/new/scripts/cloud.core2.js @@ -493,9 +493,12 @@ var $selectedLeftMenu; var $expandedLeftMenu; function selectLeftMenu($menuToSelect, expandable) { if ($selectedLeftMenu == null || ($menuToSelect.attr("id") != $selectedLeftMenu.attr("id"))) { - if($selectedLeftMenu != null) + if($selectedLeftMenu != null) { $selectedLeftMenu.removeClass("selected"); + $selectedLeftMenu.find(".leftmenu_arrows_firstlevel_open").hide(); + } $menuToSelect.addClass("selected"); + $menuToSelect.find(".leftmenu_arrows_firstlevel_open").show(); $selectedLeftMenu = $menuToSelect; // collapse any current expanded menu