mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-19 08:52:22 +01:00
Fixes owncloud/#327.
This commit is contained in:
parent
75e14d8476
commit
ff3e5cc833
@ -413,11 +413,9 @@ OC.Contacts = OC.Contacts || {
|
||||
console.log('Error loading contacts!');
|
||||
} else {
|
||||
if(response.numcontacts === 0) {
|
||||
self.$contactListHeader.hide();
|
||||
self.$contactList.hide();
|
||||
self.$firstRun.show();
|
||||
} else {
|
||||
self.$contactListHeader.show();
|
||||
self.$contactList.show();
|
||||
self.$firstRun.hide();
|
||||
$.each(self.addressBooks.addressBooks, function(idx, addressBook) {
|
||||
@ -699,7 +697,6 @@ OC.Contacts = OC.Contacts || {
|
||||
self.closeContact(id);
|
||||
self.jumpToContact(id);
|
||||
}
|
||||
self.$contactList.show();
|
||||
self.$toggleAll.show();
|
||||
self.hideActions();
|
||||
if(result.type === 'category' || result.type === 'fav') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user