mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-21 06:33:18 +00:00
(js) Check addressbook ACL prior to delete cards
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
key: hotkey,
|
||||
description: l('Delete'),
|
||||
callback: function($event) {
|
||||
if (vm.currentFolder.$selectedCount() === 0)
|
||||
if (vm.currentFolder.acls.objectEraser && vm.currentFolder.$selectedCount() === 0)
|
||||
confirmDelete();
|
||||
$event.preventDefault();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user