mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Newly created groups didn't accept drop. Close #357
This commit is contained in:
parent
4891656447
commit
67dda6a7c2
@ -622,6 +622,12 @@ OC.Contacts = OC.Contacts || {};
|
||||
$elem.data('contacts', contacts);
|
||||
$elem.data('rawname', name);
|
||||
$elem.data('id', id);
|
||||
$elem.droppable({
|
||||
drop: self.contactDropped,
|
||||
activeClass: 'ui-state-active',
|
||||
hoverClass: 'ui-state-hover',
|
||||
scope: 'contacts'
|
||||
});
|
||||
var added = false;
|
||||
self.$groupList.find('li.group[data-type="category"]').each(function() {
|
||||
if ($(this).data('rawname').toLowerCase().localeCompare(name.toLowerCase()) > 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user