From 96795b9de5da082ebb1da7f823bc55589acb7e87 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 24 Feb 2014 23:34:31 +0000 Subject: [PATCH] Add 'Add' action to list context menu Consistent with other apps, and solves error with missing/unset placeholder row action --- calendar/inc/class.calendar_uilist.inc.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/calendar/inc/class.calendar_uilist.inc.php b/calendar/inc/class.calendar_uilist.inc.php index fa3be9f5db..c6c916bf09 100644 --- a/calendar/inc/class.calendar_uilist.inc.php +++ b/calendar/inc/class.calendar_uilist.inc.php @@ -821,6 +821,10 @@ class calendar_uilist extends calendar_ui private function get_actions() { $actions = array( + 'add' => array( + 'caption' => 'Add', + 'egw_open' => 'add-calendar' + ), 'open' => array( 'caption' => 'Open', 'default' => true,