Browse Source

Fixed upload js not building correctly.

core
Teknikode 4 years ago
parent
commit
7fda3e3269
  1. 4
      Teknik/Scripts/Upload/Upload.js

4
Teknik/Scripts/Upload/Upload.js

@ -433,8 +433,8 @@ function uploadComplete(fileID, key, encrypt, token, evt) { @@ -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…
Cancel
Save