From d5a09407330c00cfc61ebf3f504dc0fea9ad0c17 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Tue, 24 Apr 2012 11:38:11 +0200 Subject: [PATCH] Added loading indicator. --- js/contacts.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/contacts.js b/js/contacts.js index a3e1a136..e00e9257 100644 --- a/js/contacts.js +++ b/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.'));