From d6eb8a87def74230bf695118a7cd34b200efd365 Mon Sep 17 00:00:00 2001 From: nathangray Date: Mon, 15 Mar 2021 09:32:53 -0600 Subject: [PATCH] Calendar: add client-side confirmation before deleting --- calendar/inc/class.calendar_uilist.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/calendar/inc/class.calendar_uilist.inc.php b/calendar/inc/class.calendar_uilist.inc.php index 3cc679ab3e..7ec7e5b5f3 100644 --- a/calendar/inc/class.calendar_uilist.inc.php +++ b/calendar/inc/class.calendar_uilist.inc.php @@ -1101,6 +1101,7 @@ class calendar_uilist extends calendar_ui 'onExecute' => 'javaScript:app.calendar.cal_delete', 'group' => $group, 'disableClass' => 'rowNoDelete', + 'confirm' => lang('Delete this entry') ); // Add in deleted for admins if($GLOBALS['egw_info']['server']['calendar_delete_history'])