1
0
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:
Jan ten Bokkel 2014-01-02 13:00:00 +01:00
parent 75e14d8476
commit ff3e5cc833

View File

@ -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') {