From 094e08d71c0c7fb4d1ef975a7e3e432e69340627 Mon Sep 17 00:00:00 2001 From: pigator <56750471+pigator@users.noreply.github.com> Date: Fri, 26 Feb 2021 23:05:13 +0100 Subject: [PATCH] Resumable upload error: fix displaying errors When resumableUploadOptions.skipErrorsAndProceed was true and multiple errors could occur during resumable upload, errors were discarded (reset) and only the last error would be displayed. Now all the errors are displayed if resumableUploadOptions.skipErrorsAndProceed is set to true. --- js/fileinput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/fileinput.js b/js/fileinput.js index 64f45047..ff03c043 100755 --- a/js/fileinput.js +++ b/js/fileinput.js @@ -2262,7 +2262,7 @@ }, _resetErrors: function (fade) { var self = this, $error = self.$errorContainer; - if (self.isPersistentError) { + if (self.isPersistentError || self.resumableUploadOptions.skipErrorsAndProceed) { return; } self.isError = false;