Commit bcda6a33 authored by Benni Mack's avatar Benni Mack Committed by Oliver Bartsch
Browse files

[BUGFIX] Show proper error message in drag uploader

When uploading an invalid file (or a folder),
the message within the filelist now does not
contain empty "()" (for the status text) anymore.

Resolves: #94691
Releases: master
Change-Id: I8fcf62c7bd8a7ef3413e44e787a56fb289e73b83

Tested-by: Nikita Hovratov's avatarNikita Hovratov <>
Tested-by: core-ci's avatarcore-ci <>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <>
Reviewed-by: Nikita Hovratov's avatarNikita Hovratov <>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <>
parent fb74d662
......@@ -580,8 +580,10 @@ class FileQueueItem {
const error = $(response.responseText);
if ('t3err')) {
} else if (response.statusText) {
this.$progressPercentage.text('(' + response.statusText + ') ');
} else {
this.$progressPercentage.text('(' + response.statusText + ')');
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment