summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-07-20 21:53:34 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-07-20 21:54:24 +0200
commit3103a4cb3f506b6ff5d19833bac1a8fb1b949dc6 (patch)
tree74884827e7c1ca9a187fb48817f041ef50f31898 /apps
parent29d16f61fae1a1a658ae1edc35f3dd15ca582ca7 (diff)
downloadnextcloud-server-3103a4cb3f506b6ff5d19833bac1a8fb1b949dc6.tar.gz
nextcloud-server-3103a4cb3f506b6ff5d19833bac1a8fb1b949dc6.zip
Corrected retry count for uploaded imports.
Diffstat (limited to 'apps')
-rw-r--r--apps/contacts/js/contacts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/contacts/js/contacts.js b/apps/contacts/js/contacts.js
index 5aead47888b..62938698c25 100644
--- a/apps/contacts/js/contacts.js
+++ b/apps/contacts/js/contacts.js
@@ -1841,7 +1841,7 @@ $(document).ready(function(){
if(numfiles != uploadedfiles) {
Contacts.UI.notify({message:t('contacts', 'Not all files uploaded. Retrying...')});
retries += 1;
- if(retries > 0) {
+ if(retries > 3) {
numfiles = uploadedfiles = retries = aid = 0;
uploadingFiles = {};
OC.dialogs.alert(t('contacts', 'Something went wrong with the upload, please retry.'), t('contacts', 'Error'));