mirror of
https://git.teknik.io/Teknikode/Teknik.git
synced 2023-08-02 14:16:22 +02:00
Fixed upload js not building correctly.
This commit is contained in:
parent
175eaa4762
commit
7fda3e3269
@ -433,8 +433,8 @@ function uploadComplete(fileID, key, encrypt, token, evt) {
|
||||
setProgress(fileID, 100, 'progress-bar-danger', '', errorMessage);
|
||||
}
|
||||
}
|
||||
catch {
|
||||
setProgress(fileID, 100, 'progress-bar-danger', '', 'Unable to Upload File');
|
||||
catch(err) {
|
||||
setProgress(fileID, 100, 'progress-bar-danger', '', 'Unable to Upload File: ' + parseErrorMessage(err));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user