mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Fixed regression introduced in [4022]: about box not displayed
SVN:trunk[4054]
This commit is contained in:
@@ -109,6 +109,17 @@ class iTopWebPage extends NiceWebPage implements iTabbedPage
|
||||
if (!$this->IsPrintableVersion())
|
||||
{
|
||||
$this->PrepareLayout();
|
||||
$this->add_script(
|
||||
<<<EOF
|
||||
function ShowAboutBox()
|
||||
{
|
||||
$.post(GetAbsoluteUrlAppRoot()+'pages/ajax.render.php', {operation: 'about_box'}, function(data){
|
||||
$('body').append(data);
|
||||
});
|
||||
return false;
|
||||
}
|
||||
EOF
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -135,7 +146,6 @@ class iTopWebPage extends NiceWebPage implements iTabbedPage
|
||||
|
||||
protected function PrepareLayout()
|
||||
{
|
||||
$bLeftPaneOpen = true;
|
||||
if (MetaModel::GetConfig()->Get('demo_mode'))
|
||||
{
|
||||
// No pin button
|
||||
|
||||
Reference in New Issue
Block a user