mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 12:25:23 +00:00
(js) Check addressbook ACL prior to delete cards
This commit is contained in:
@@ -228,7 +228,7 @@
|
||||
this.confirmDeleteSelectedCards = function($event) {
|
||||
var selectedCards = this.selectedFolder.$selectedCards();
|
||||
|
||||
if (_.size(selectedCards) > 0)
|
||||
if (this.selectedFolder.acls.objectEraser && _.size(selectedCards) > 0)
|
||||
Dialog.confirm(l('Warning'),
|
||||
l('Are you sure you want to delete the selected contacts?'),
|
||||
{ ok: l('Delete') })
|
||||
|
||||
Reference in New Issue
Block a user