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

Merge branch 'master' of github.com:owncloud/contacts

This commit is contained in:
Thomas Tanghus 2014-01-23 18:55:10 +01:00
commit a1754bac95

View File

@ -602,7 +602,7 @@ OC.Contacts = OC.Contacts || {};
var self = this;
if(this.hasGroup(name)) {
if(typeof cb === 'function') {
cb({error:true, message:t('contacts', 'A group named "{group} a"lready exists', {group: escapeHTML(name)})});
cb({error:true, message:t('contacts', 'A group named "{group}" already exists', {group: escapeHTML(name)})});
}
return;
}