mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-06 20:37:14 +00:00
fix(addressbook(js)): unselect current card on delete
This commit is contained in:
1 parent
896fe27c61
commit
547d26af19
1 file changed
+1
@@ -196,6 +196,7 @@
|
||||
AddressBook.selectedFolder.$deleteCards([card])
|
||||
.then(function() {
|
||||
close();
|
||||
$state.go('app.addressbook');
|
||||
}, function(data, status) {
|
||||
Dialog.alert(l('Warning'), l('An error occured while deleting the card "%{0}".',
|
||||
card.$fullname()));
|
||||
|
||||
Reference in new issue
Block a user