Browse Source

Fixed upload js not building correctly.

tags/3.0.0^2
Teknikode 2 years ago
parent
commit
7fda3e3269
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Teknik/Scripts/Upload/Upload.js

+ 2
- 2
Teknik/Scripts/Upload/Upload.js View File

@@ -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