mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Contacts: Fix add groups. Ref #522
This commit is contained in:
parent
c76067023b
commit
d158a7b51a
@ -167,6 +167,7 @@
|
||||
width: 16px; height: 16px;
|
||||
padding: 0; margin: 0;
|
||||
background-position: center;
|
||||
background-size:contain;
|
||||
}
|
||||
|
||||
.action.text, .icon.text {
|
||||
|
@ -528,7 +528,7 @@ OC.Contacts = OC.Contacts || {};
|
||||
GroupList.prototype.addGroup = function(params, cb) {
|
||||
console.log('GroupList.addGroup', params.name);
|
||||
var name = params.name;
|
||||
contacts = []; // $.map(contacts, function(c) {return parseInt(c)});
|
||||
var contacts = []; // $.map(contacts, function(c) {return parseInt(c)});
|
||||
var self = this, exists = false;
|
||||
self.$groupList.find('h3[data-type="category"]').each(function() {
|
||||
if ($(this).data('name').toLowerCase() === name.toLowerCase()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user