浏览代码

Fix #1091: Set default button type for close button markup template

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

+ 2 - 1
CHANGE.md

@@ -3,8 +3,9 @@ Change Log: `bootstrap-fileinput`
 
 ## version 4.4.5 (_under development_)
 
-**Date:** 24-Sep-2017
+**Date:** 29-Sep-2017
 
+- (enh #1091): Set default button type for close button markup template.
 - (enh #1090): Auto detect intelligently the preview type based on file content.
 - (enh #1087): Enhance SCSS/SASS styling configurations.
 - (enh #1086): New placeholder property and various caption rendering enhancements.

+ 1 - 1
js/fileinput.js

@@ -4166,7 +4166,7 @@
         elPreviewImage: null,
         elPreviewStatus: null,
         elErrorContainer: null,
-        errorCloseButton: '<button class="close kv-error-close">&times;</button>',
+        errorCloseButton: '<button type="button" class="close kv-error-close">&times;</button>',
         slugCallback: null,
         dropZoneEnabled: true,
         dropZoneTitleClass: 'file-drop-zone-title',

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


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