浏览代码

Fix #1117: Correct ajax aborted status

Kartik Visweswaran 7 年之前
父节点
当前提交
832108992a
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      js/fileinput.js
  2. 0 0
      js/fileinput.min.js

+ 1 - 1
js/fileinput.js

@@ -3738,7 +3738,7 @@
                 self.cancel();
                 self.cancel();
                 return true;
                 return true;
             }
             }
-            return false;
+            return !!self.ajaxAborted;
         },
         },
         _resetFileStack: function () {
         _resetFileStack: function () {
             var self = this, i = 0, newstack = [], newnames = [], newids = [];
             var self = this, i = 0, newstack = [], newnames = [], newids = [];

文件差异内容过多而无法显示
+ 0 - 0
js/fileinput.min.js


部分文件因为文件数量过多而无法显示