瀏覽代碼

Event to catch when the file input changes to an empty state.

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

+ 1 - 0
js/fileinput.js

@@ -698,6 +698,7 @@
                 tfiles = e.target.files;
             }
             if (tfiles.length === 0) {
+                $el.trigger('fileselectnone');
                 return;
             }
             self.resetErrors();

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


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