mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Calendar: add client-side confirmation before deleting
This commit is contained in:
parent
d9df2131fe
commit
d6eb8a87de
@ -1101,6 +1101,7 @@ class calendar_uilist extends calendar_ui
|
|||||||
'onExecute' => 'javaScript:app.calendar.cal_delete',
|
'onExecute' => 'javaScript:app.calendar.cal_delete',
|
||||||
'group' => $group,
|
'group' => $group,
|
||||||
'disableClass' => 'rowNoDelete',
|
'disableClass' => 'rowNoDelete',
|
||||||
|
'confirm' => lang('Delete this entry')
|
||||||
);
|
);
|
||||||
// Add in deleted for admins
|
// Add in deleted for admins
|
||||||
if($GLOBALS['egw_info']['server']['calendar_delete_history'])
|
if($GLOBALS['egw_info']['server']['calendar_delete_history'])
|
||||||
|
Loading…
Reference in New Issue
Block a user