Browse Source

Fix #19: Reinitialize file elements for every file selection

Kartik Visweswaran 10 năm trước cách đây
mục cha
commit
900c166046
2 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      js/fileinput.js
  2. 0 0
      js/fileinput.min.js

+ 1 - 1
js/fileinput.js

@@ -29,10 +29,10 @@
         MAIN_TEMPLATE_2 = '{preview}\n{remove}\n{upload}\n{browse}\n',
 
         PREVIEW_TEMPLATE = '<div class="file-preview {class}">\n' +
-            '   <div class="file-preview-status text-center text-success"></div>\n' +
             '   <div class="close fileinput-remove text-right">&times;</div>\n' +
             '   <div class="file-preview-thumbnails"></div>\n' +
             '   <div class="clearfix"></div>' +
+            '   <div class="file-preview-status text-center text-success"></div>\n' +
             '</div>',
 
         CAPTION_TEMPLATE = '<div tabindex="-1" class="form-control file-caption {class}">\n' +

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
js/fileinput.min.js


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác