diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-05-11 18:21:12 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-05-11 18:21:55 +0200 |
commit | 8e5240d5790e5ab1a9a2f1991df118d14edd1e4e (patch) | |
tree | b9f2b2f7b6193f13d99b5bfe97539072319ddf6e /apps/contacts | |
parent | 646a4bd635a41d231e5ee00650a3fa47896fabdc (diff) | |
download | nextcloud-server-8e5240d5790e5ab1a9a2f1991df118d14edd1e4e.tar.gz nextcloud-server-8e5240d5790e5ab1a9a2f1991df118d14edd1e4e.zip |
Contacts: Make the structured name dialog modal to avoid confusion.
Diffstat (limited to 'apps/contacts')
-rw-r--r-- | apps/contacts/js/contacts.js | 2 |
1 files changed, 1 insertions, 1 deletions
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', |