mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 17:18:51 +02:00
Allow to automatically hide/show the menu pane as a parameter to the page (useful for automating the documentation)
SVN:trunk[2443]
This commit is contained in:
@@ -320,6 +320,11 @@ EOF
|
||||
$('.caselog_header').click( function () { $(this).toggleClass('open').next('.caselog_entry').toggle(); });
|
||||
EOF
|
||||
);
|
||||
$bForceMenuPane = utils::ReadParam('force_menu_pane', null);
|
||||
if ($bForceMenuPane !== null)
|
||||
{
|
||||
appUserPreferences::SetPref('menu_pane', ($bForceMenuPane) ? 'open' : 'closed');
|
||||
}
|
||||
$sUserPrefs = appUserPreferences::GetAsJSON();
|
||||
$this->add_script(
|
||||
<<<EOF
|
||||
|
||||
Reference in New Issue
Block a user