mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-11-29 11:24:11 +01:00
Remove deleted address book from list.
This commit is contained in:
parent
1436165ab3
commit
3406fe8828
@ -1393,6 +1393,7 @@ Contacts={
|
||||
function(jsondata) {
|
||||
if (jsondata.status == 'success'){
|
||||
$(obj).closest('tr').remove();
|
||||
$('#contacts h3[data-id="'+bookid+'"],#contacts ul[data-id="'+bookid+'"]').remove();
|
||||
Contacts.UI.Contacts.update();
|
||||
} else {
|
||||
OC.dialogs.alert(jsondata.data.message, t('contacts', 'Error'));
|
||||
|
Loading…
Reference in New Issue
Block a user