mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
fix(addressbook(js)): unselect current card on delete
This commit is contained in:
@@ -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