]> source.dussan.org Git - nextcloud-server.git/commitdiff
Contacts: Make the structured name dialog modal to avoid confusion.
authorThomas Tanghus <thomas@tanghus.net>
Fri, 11 May 2012 16:21:12 +0000 (18:21 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Fri, 11 May 2012 16:21:55 +0000 (18:21 +0200)
apps/contacts/js/contacts.js

index 67904e6728d19df486aa2e8278809787160b1ea8..171dc5e58a2975510e71062a601054f9c9db96b4 100644 (file)
@@ -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',