mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-15 04:24:41 +01:00
* Calendar: Add print action to event context menu
This commit is contained in:
parent
3c246fe494
commit
863242689f
@ -890,6 +890,14 @@ class calendar_uilist extends calendar_ui
|
||||
'popup' => Link::get_registry('calendar', 'view_popup'),
|
||||
'allowOnMultiple' => false,
|
||||
),
|
||||
'print' => array(
|
||||
'caption' => 'Print',
|
||||
'group' => $group,
|
||||
'disableClass' => 'rowNoView',
|
||||
'url' => 'menuaction=calendar.calendar_uiforms.edit&cal_id=$id&print=1',
|
||||
'popup' => Link::get_registry('calendar', 'view_popup'),
|
||||
'allowOnMultiple' => false,
|
||||
),
|
||||
'select_all' => array(
|
||||
'caption' => 'Whole query',
|
||||
'checkbox' => true,
|
||||
|
@ -914,6 +914,8 @@ class calendar_uiviews extends calendar_ui
|
||||
$actions['add']['onExecute'] = 'javaScript:app.calendar.action_open';
|
||||
$actions['copy']['open'] = '{"app": "calendar", "type": "add", "extra": "cal_id=$id&action=copy"}';
|
||||
$actions['copy']['onExecute'] = 'javaScript:app.calendar.action_open';
|
||||
$actions['print']['open'] = '{"app": "calendar", "type": "add", "extra": "cal_id=$id&print=1"}';
|
||||
$actions['print']['onExecute'] = 'javaScript:app.calendar.action_open';
|
||||
|
||||
foreach($actions['status']['children'] as $id => &$status)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user