mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-20 14:36:53 +00:00
(js) Improve confirm dialogs for deletions
This commit is contained in:
1 parent
693f80dc9a
commit
37f4b11834
7 files changed
+12
-6
No files matched your search
@@ -97,7 +97,8 @@
|
||||
});
|
||||
}
|
||||
else {
|
||||
Dialog.confirm(l('Warning'), l('Are you sure you want to delete the calendar <em>%{0}</em>?', folder.name))
|
||||
Dialog.confirm(l('Warning'), l('Are you sure you want to delete the calendar <em>%{0}</em>?', folder.name),
|
||||
{ ok: l('Delete') })
|
||||
.then(function() {
|
||||
folder.$delete()
|
||||
.then(function() {
|
||||
|
||||
Reference in new issue
Block a user