mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-03 20:09:27 +01:00
Add ability to create tracker from infolog to the infolog context menu
This commit is contained in:
parent
d629b6322e
commit
3ca10ad0c5
@ -968,6 +968,18 @@ class infolog_ui
|
||||
'popup' => egw_link::get_registry('timesheet', 'add_popup'),
|
||||
);
|
||||
}
|
||||
if ($GLOBALS['egw_info']['user']['apps']['tracker'])
|
||||
{
|
||||
$actions['tracker'] = array(
|
||||
'icon' => 'tracker/navbar',
|
||||
'caption' => 'Tracker',
|
||||
'group' => $group,
|
||||
'url' => 'menuaction=tracker.tracker_ui.edit&'.
|
||||
egw_link::get_registry('tracker', 'add_app') . '[]=infolog&'.egw_link::get_registry('tracker','add_id').'[]=$id',
|
||||
'allowOnMultiple' => false,
|
||||
'popup' => egw_link::get_registry('tracker', 'add_popup'),
|
||||
);
|
||||
}
|
||||
|
||||
$actions['documents'] = infolog_merge::document_action(
|
||||
$this->prefs['document_dir'], ++$group, 'Insert in document', 'document_',
|
||||
|
Loading…
Reference in New Issue
Block a user