From 8e5240d5790e5ab1a9a2f1991df118d14edd1e4e Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Fri, 11 May 2012 18:21:12 +0200 Subject: [PATCH] Contacts: Make the structured name dialog modal to avoid confusion. --- apps/contacts/js/contacts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index 67904e6728d..171dc5e58a2 100644 --- a/apps/contacts/js/contacts.js +++ b/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', -- 2.39.5