瀏覽代碼

Fix #1012: Better formatting of ajax errors display

Kartik Visweswaran 7 年之前
父節點
當前提交
b06096c79b
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/fileinput.js
  2. 0 0
      js/fileinput.min.js

+ 1 - 1
js/fileinput.js

@@ -1030,7 +1030,7 @@
         },
         },
         _parseError: function (operation, jqXHR, errorThrown, fileName) {
         _parseError: function (operation, jqXHR, errorThrown, fileName) {
             /** @namespace jqXHR.responseJSON */
             /** @namespace jqXHR.responseJSON */
-            var self = this, errMsg = $.trim(errorThrown + ''), textPre 
+            var self = this, errMsg = $.trim(errorThrown + ''), textPre, 
                 text = jqXHR.responseJSON !== undefined && jqXHR.responseJSON.error !== undefined ?
                 text = jqXHR.responseJSON !== undefined && jqXHR.responseJSON.error !== undefined ?
                     jqXHR.responseJSON.error : jqXHR.responseText;
                     jqXHR.responseJSON.error : jqXHR.responseText;
             if (self.cancelling && self.msgUploadAborted) {
             if (self.cancelling && self.msgUploadAborted) {

文件差異過大導致無法顯示
+ 0 - 0
js/fileinput.min.js


部分文件因文件數量過多而無法顯示