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);
|
$mergeList.append($li);
|
||||||
});
|
});
|
||||||
this.$contactList.addClass('dim');
|
|
||||||
$('#merge_contacts_dialog').html($dlg).ocdialog({
|
$('#merge_contacts_dialog').html($dlg).ocdialog({
|
||||||
|
modal: true,
|
||||||
closeOnEscape: true,
|
closeOnEscape: true,
|
||||||
title: t('contacts', 'Merge contacts'),
|
title: t('contacts', 'Merge contacts'),
|
||||||
height: 'auto', width: 'auto',
|
height: 'auto', width: 'auto',
|
||||||
@ -1242,7 +1242,6 @@ OC.Contacts = OC.Contacts || {
|
|||||||
close: function(event, ui) {
|
close: function(event, ui) {
|
||||||
$(this).ocdialog('destroy').remove();
|
$(this).ocdialog('destroy').remove();
|
||||||
$('#add_group_dialog').remove();
|
$('#add_group_dialog').remove();
|
||||||
self.$contactList.removeClass('dim');
|
|
||||||
},
|
},
|
||||||
open: function(event, ui) {
|
open: function(event, ui) {
|
||||||
$dlg.find('input').focus();
|
$dlg.find('input').focus();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user