summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-20 22:25:09 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-20 22:25:09 +0200
commit42fbc111a253633db1a1eef63e54ca0547a36263 (patch)
tree95b6368a1930ee25b7f06c184fc0f84a76c25635 /apps
parent3103a4cb3f506b6ff5d19833bac1a8fb1b949dc6 (diff)
downloadnextcloud-server-42fbc111a253633db1a1eef63e54ca0547a36263.tar.gz
nextcloud-server-42fbc111a253633db1a1eef63e54ca0547a36263.zip
Hide progressbar on error.
Diffstat (limited to 'apps')
-rw-r--r--apps/contacts/js/contacts.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js
index 62938698c25..9f5803706ae 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'));
}
});