mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
Added loading indicator.
This commit is contained in:
parent
887747394b
commit
d5a0940733
@ -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.'));
|
||||
|
Loading…
Reference in New Issue
Block a user