mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Fix context menu action 'Add' in grid views
This commit is contained in:
parent
d89e847acc
commit
f08cfee22c
@ -2654,7 +2654,8 @@ class calendar_uiviews extends calendar_ui
|
||||
$action['enabled'] = 'javaScript:app.calendar.is_event';
|
||||
}
|
||||
}
|
||||
|
||||
$actions['add']['open'] = '{"app":"calendar","type":"add"}';
|
||||
$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';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user