mirror of
https://github.com/owncloudarchive/contacts.git
synced 2025-01-18 07:52:21 +01:00
Use ocdialog.modal instead of dimming contactlist.
This commit is contained in:
parent
596a9cb899
commit
8abedf43fc
@ -1203,8 +1203,8 @@ OC.Contacts = OC.Contacts || {
|
||||
}
|
||||
$mergeList.append($li);
|
||||
});
|
||||
this.$contactList.addClass('dim');
|
||||
$('#merge_contacts_dialog').html($dlg).ocdialog({
|
||||
modal: true,
|
||||
closeOnEscape: true,
|
||||
title: t('contacts', 'Merge contacts'),
|
||||
height: 'auto', width: 'auto',
|
||||
@ -1242,7 +1242,6 @@ OC.Contacts = OC.Contacts || {
|
||||
close: function(event, ui) {
|
||||
$(this).ocdialog('destroy').remove();
|
||||
$('#add_group_dialog').remove();
|
||||
self.$contactList.removeClass('dim');
|
||||
},
|
||||
open: function(event, ui) {
|
||||
$dlg.find('input').focus();
|
||||
|
Loading…
x
Reference in New Issue
Block a user