1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-19 08:52:22 +01:00

Missing variable.

This commit is contained in:
Thomas Tanghus 2013-05-08 15:54:55 +02:00
parent 7eb6a29cd5
commit 10015deb8f

View File

@ -641,7 +641,7 @@ OC.Contacts = OC.Contacts || {};
var tmpl = this.$groupListItemTemplate; var tmpl = this.$groupListItemTemplate;
if(!this.findById('all').length) { if(!this.findById('all').length) {
tmpl.octemplate({id: 'all', type: 'all', num: numcontacts, name: t('contacts', 'All')}).appendTo($groupList); tmpl.octemplate({id: 'all', type: 'all', num: 0, name: t('contacts', 'All')}).appendTo($groupList);
} }
return $.when(this.storage.getGroupsForUser()).then(function(response) { return $.when(this.storage.getGroupsForUser()).then(function(response) {
if (response && !response.error) { if (response && !response.error) {