From: Thomas Tanghus Date: Tue, 24 Apr 2012 09:38:11 +0000 (+0200) Subject: Added loading indicator. X-Git-Tag: v4.0.0beta~210^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b824425186abc3ea7218252c26d44f8aee73b95d;p=nextcloud-server.git Added loading indicator. --- diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index a3e1a1361df..e00e9257e65 100644 --- a/apps/contacts/js/contacts.js +++ b/apps/contacts/js/contacts.js @@ -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.'));