aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-04-24 11:38:11 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-04-24 11:38:11 +0200
commitb824425186abc3ea7218252c26d44f8aee73b95d (patch)
tree8d2242968c4732ab013ae988f7fef27d4ca32d51
parent988f98fc6f2942a09ffbd901bb24651acac75c8c (diff)
downloadnextcloud-server-b824425186abc3ea7218252c26d44f8aee73b95d.tar.gz
nextcloud-server-b824425186abc3ea7218252c26d44f8aee73b95d.zip
Added loading indicator.
-rw-r--r--apps/contacts/js/contacts.js1
1 files changed, 1 insertions, 0 deletions
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.'));