]> source.dussan.org Git - nextcloud-server.git/commitdiff
Added loading indicator.
authorThomas Tanghus <thomas@tanghus.net>
Tue, 24 Apr 2012 09:38:11 +0000 (11:38 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Tue, 24 Apr 2012 09:38:11 +0000 (11:38 +0200)
apps/contacts/js/contacts.js

index a3e1a1361dfa0c4cc8d00ca68fbbbd932d821081..e00e9257e651c6a7bf21989033ee97536d45c08a 100644 (file)
@@ -1393,6 +1393,7 @@ Contacts={
                                                        if(response.status == 'success') {
                                                                if(xhr.status == 200) {
                                                                        $(Contacts.UI.Addressbooks.droptarget).html(t('contacts', 'Importing...'));
+                                                                       Contacts.UI.loading(Contacts.UI.Addressbooks.droptarget, true);
                                                                        Contacts.UI.Addressbooks.doImport(response.data.path, response.data.file);
                                                                } else {
                                                                        $(Contacts.UI.Addressbooks.droptarget).html(t('contacts', 'Drop a VCF file to import contacts.'));