mirror of https://github.com/apache/cloudstack.git
Network page, cluster page, primary storage page, host page - show middle menu without search panel and pagination.
This commit is contained in:
parent
742bb65df2
commit
24b92b2c56
|
|
@ -17,7 +17,7 @@
|
|||
*/
|
||||
|
||||
function afterLoadClusterJSP($leftmenuItem1) {
|
||||
showMiddleMenu();
|
||||
showMiddleMenuWithoutSearchAndPagination();
|
||||
|
||||
clearAddButtonsOnTop();
|
||||
initAddHostButton($("#midmenu_add_host_button"), "cluster_page", $leftmenuItem1);
|
||||
|
|
|
|||
|
|
@ -649,6 +649,11 @@ function showMiddleMenu() {
|
|||
$("#middle_menu, #search_panel, #middle_menu_pagination").show();
|
||||
$("#right_panel").removeClass("main_contentarea_without_midmenu").addClass("main_contentarea_with_midmenu");
|
||||
}
|
||||
function showMiddleMenuWithoutSearchAndPagination() {
|
||||
$("#middle_menu").show();
|
||||
$("#search_panel, #middle_menu_pagination").hide();
|
||||
$("#right_panel").removeClass("main_contentarea_without_midmenu").addClass("main_contentarea_with_midmenu");
|
||||
}
|
||||
function isMiddleMenuShown() {
|
||||
if($("#middle_menu").css("display") == "none")
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ function afterLoadNetworkJSP($leftmenuItem1) {
|
|||
if(zoneObj == null)
|
||||
return;
|
||||
|
||||
showMiddleMenu();
|
||||
showMiddleMenuWithoutSearchAndPagination();
|
||||
|
||||
initAddNetworkButton($("#midmenu_add_network_button"));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue