mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
- Fixed Trac #196: root menu nodes are no longer hyperlink, thus cannot be opened in a new window/tab.
SVN:trunk[672]
This commit is contained in:
@@ -113,7 +113,7 @@ class iTopWebPage extends NiceWebPage
|
||||
}
|
||||
|
||||
// Accordion Menu
|
||||
$("#accordion").accordion({ header: "h3", navigation: true, autoHeight: false, collapsible: false });
|
||||
$("#accordion").accordion({ header: "h3", navigation: true, autoHeight: false, collapsible: false, icons: false });
|
||||
});
|
||||
//add new widget called TruncatedList to properly display truncated lists when they are sorted
|
||||
$.tablesorter.addWidget({
|
||||
|
||||
@@ -99,7 +99,7 @@ class ApplicationMenu
|
||||
{
|
||||
$oMenuNode = self::GetMenuNode($aMenu['index']);
|
||||
if (($oMenuNode->GetMenuId() == 'AdminTools') && (!UserRights::IsAdministrator())) continue; // Don't display the admin menu for non admin users
|
||||
$oPage->AddToMenu('<h3><a href="'.$oMenuNode->GetHyperlink($aExtraParams).'">'.$oMenuNode->GetTitle().'</a></h3>');
|
||||
$oPage->AddToMenu('<h3>'.$oMenuNode->GetTitle().'</h3>');
|
||||
$oPage->AddToMenu('<div>');
|
||||
$aChildren = self::GetChildren($aMenu['index']);
|
||||
if (count($aChildren) > 0)
|
||||
|
||||
@@ -236,6 +236,10 @@ input.textSearch {
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
|
||||
#accordion h3 {
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.ui-accordion-content ul {
|
||||
list-style:none;
|
||||
padding-left:16px;
|
||||
|
||||
Reference in New Issue
Block a user