浏览代码

Fix #483: Clear and reset native input after uploading each single file thumbnail

Kartik Visweswaran 9 年之前
父节点
当前提交
766d772545
共有 3 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      CHANGE.md
  2. 1 0
      js/fileinput.js
  3. 0 0
      js/fileinput.min.js

+ 1 - 0
CHANGE.md

@@ -14,6 +14,7 @@ Change Log: `bootstrap-fileinput`
 7. (enh #474): Upload via button within each preview thumbnail skips last file for async uploads.
 8. (enh #477): Fix IE10 specific styling bug for file input block button.
 9. (enh #481): Universal Module Definition for use with CommonJS, AMD or browser globals.
+10. (bug #483): Clear and reset native input after uploading each single file thumbnail.
 
 ## version 4.2.7
 

+ 1 - 0
js/fileinput.js

@@ -1571,6 +1571,7 @@
                     }
                     if (!allFiles) {
                         self.unlock(false);
+                        self.clearFileInput();
                     } else {
                         chkComplete();
                     }

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


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