瀏覽代碼

Fixed upload js not building correctly.

tags/3.0.0^2
Teknikode 2 年之前
父節點
當前提交
7fda3e3269
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      Teknik/Scripts/Upload/Upload.js

+ 2
- 2
Teknik/Scripts/Upload/Upload.js 查看文件

@@ -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…
取消
儲存