Added loading indicator.

This commit is contained in:
Thomas Tanghus 2012-04-24 11:38:11 +02:00
parent 988f98fc6f
commit b824425186
1 changed files with 1 additions and 0 deletions

View 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.'));