1
0
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:
Thomas Tanghus 2013-06-03 15:45:54 +02:00
parent 596a9cb899
commit 8abedf43fc

View File

@ -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();