Contacts: Make the structured name dialog modal to avoid confusion.
This commit is contained in:
parent
646a4bd635
commit
8e5240d579
|
@ -726,7 +726,7 @@ Contacts={
|
||||||
$('#dialog_holder').load(OC.filePath('contacts', 'ajax', 'editname.php')+'?id='+this.id, function(jsondata){
|
$('#dialog_holder').load(OC.filePath('contacts', 'ajax', 'editname.php')+'?id='+this.id, function(jsondata){
|
||||||
if(jsondata.status != 'error'){
|
if(jsondata.status != 'error'){
|
||||||
$('#edit_name_dialog' ).dialog({
|
$('#edit_name_dialog' ).dialog({
|
||||||
modal: (isnew && true || false),
|
modal: true,
|
||||||
closeOnEscape: (isnew == '' && false || true),
|
closeOnEscape: (isnew == '' && false || true),
|
||||||
title: (isnew && t('contacts', 'Add contact') || t('contacts', 'Edit name')),
|
title: (isnew && t('contacts', 'Add contact') || t('contacts', 'Edit name')),
|
||||||
height: 'auto', width: 'auto',
|
height: 'auto', width: 'auto',
|
||||||
|
|
Loading…
Reference in New Issue