mirror of https://github.com/apache/cloudstack.git
new UI - remove JQuery accordion widget from left menu. Create our own widget to control left menu.
This commit is contained in:
parent
acdf1bd128
commit
a9de7cbd23
1462
ui/new/index.jsp
1462
ui/new/index.jsp
File diff suppressed because it is too large
Load Diff
|
|
@ -1,6 +1,17 @@
|
|||
$(document).ready(function() {
|
||||
|
||||
$("#accordion_menu").show();
|
||||
$(document).ready(function() {
|
||||
$("#leftmenu_container").find("#expanded_arrow_icon").bind("click", function(event) {
|
||||
var $submenu = $(this).parent().parent().siblings(".leftmenu_expandedbox");
|
||||
if($submenu.css("display") == "none") {
|
||||
$(this).removeClass("close").addClass("open");
|
||||
$submenu.show();
|
||||
}
|
||||
else {
|
||||
$(this).removeClass("open").addClass("close");
|
||||
$submenu.hide();
|
||||
}
|
||||
return false;
|
||||
});
|
||||
$("#leftmenu_container").show();
|
||||
|
||||
var $midmenuItem = $("#midmenu_item");
|
||||
function listMidMenuItems(leftmenuId, commandString, jsonResponse1, jsonResponse2, rightPanelJSP, afterLoadRightPanelJSPFn, toMidmenuFn, toRightPanelFn, getMidmenuIdFn) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue