mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-31 11:09:04 +01:00
fix for add in sidebox menu was not opening a popup
This commit is contained in:
parent
e5047dcd9c
commit
e43a0ddf3f
@ -33,8 +33,12 @@ class admin_prefs_sidebox_hooks
|
|||||||
$file = array(
|
$file = array(
|
||||||
'infolog list' => $GLOBALS['egw']->link('/index.php',array(
|
'infolog list' => $GLOBALS['egw']->link('/index.php',array(
|
||||||
'menuaction' => 'infolog.uiinfolog.index' )),
|
'menuaction' => 'infolog.uiinfolog.index' )),
|
||||||
'add' => $GLOBALS['egw']->link('/index.php',array(
|
array(
|
||||||
'menuaction' => 'infolog.uiinfolog.edit' ))
|
'text' => '<a class="textSidebox" href="'.htmlspecialchars($GLOBALS['egw']->link('/index.php',array(
|
||||||
|
'menuaction' => 'infolog.uiinfolog.edit',
|
||||||
|
))).'" target="_blank" onclick="window.open(this.href,this.target,\'dependent=yes,width=750,height=550,scrollbars=yes,status=yes\'); return false;">'.lang('Add').'</a>',
|
||||||
|
'no_lang' => true,
|
||||||
|
)
|
||||||
);
|
);
|
||||||
display_sidebox($appname,$GLOBALS['egw_info']['apps']['infolog']['title'].' '.lang('Menu'),$file);
|
display_sidebox($appname,$GLOBALS['egw_info']['apps']['infolog']['title'].' '.lang('Menu'),$file);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user