Add 'Add' action to list context menu

Consistent with other apps, and solves error with missing/unset placeholder row action
This commit is contained in:
Nathan Gray 2014-02-24 23:34:31 +00:00
parent cd3387448a
commit 96795b9de5

View File

@ -821,6 +821,10 @@ class calendar_uilist extends calendar_ui
private function get_actions() private function get_actions()
{ {
$actions = array( $actions = array(
'add' => array(
'caption' => 'Add',
'egw_open' => 'add-calendar'
),
'open' => array( 'open' => array(
'caption' => 'Open', 'caption' => 'Open',
'default' => true, 'default' => true,