(js) Improve confirm dialogs for deletions

This commit is contained in:
Francis Lachapelle committed 2016-02-10 10:52:46 -05:00
1 parent 693f80dc9a
commit 37f4b11834
7 files changed
+12 -6

No files matched your search

@@ -121,7 +121,7 @@
function confirmDelete(card) {
Dialog.confirm(l('Warning'),
l('Are you sure you want to delete the card of %{0}?', card.$fullname()),
{ok: l('Yes'), cancel: l('No')})
{ ok: l('Delete') })
.then(function() {
// User confirmed the deletion
card.$delete()