Contacts: Make the structured name dialog modal to avoid confusion.

remotes/origin/stable4
Thomas Tanghus 13 years ago
parent 646a4bd635
commit 8e5240d579
  1. 2
      apps/contacts/js/contacts.js

@ -726,7 +726,7 @@ Contacts={
$('#dialog_holder').load(OC.filePath('contacts', 'ajax', 'editname.php')+'?id='+this.id, function(jsondata){
if(jsondata.status != 'error'){
$('#edit_name_dialog' ).dialog({
modal: (isnew && true || false),
modal: true,
closeOnEscape: (isnew == '' && false || true),
title: (isnew && t('contacts', 'Add contact') || t('contacts', 'Edit name')),
height: 'auto', width: 'auto',

Loading…
Cancel
Save