mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 00:45:09 +00:00
(js) Allow to change the labels of Dialog.confirm
This commit is contained in:
@@ -99,7 +99,8 @@
|
||||
}
|
||||
function confirmDelete(card) {
|
||||
Dialog.confirm(l('Warning'),
|
||||
l('Are you sure you want to delete the card of %{0}?', card.$fullname()))
|
||||
l('Are you sure you want to delete the card of %{0}?', card.$fullname()),
|
||||
{ok: l('Yes'), cancel: l('No')})
|
||||
.then(function() {
|
||||
// User confirmed the deletion
|
||||
card.$delete()
|
||||
|
||||
Reference in New Issue
Block a user