diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js index 62938698c252bb99b087809b510b436ce18fc7f8..9f5803706aebfb28f083b7cd1fa3d1053b350113 100644 --- a/apps/contacts/js/contacts.js +++ b/apps/contacts/js/contacts.js @@ -1844,6 +1844,7 @@ $(document).ready(function(){ if(retries > 3) { numfiles = uploadedfiles = retries = aid = 0; uploadingFiles = {}; + $('#uploadprogressbar').fadeOut(); OC.dialogs.alert(t('contacts', 'Something went wrong with the upload, please retry.'), t('contacts', 'Error')); return; } @@ -1917,6 +1918,7 @@ $(document).ready(function(){ }); } } else { + $('#uploadprogressbar').fadeOut(); OC.dialogs.alert(jsondata.data.message, t('contacts', 'Error')); } });