فهرست منبع

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


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است