diff --git a/CHANGE.md b/CHANGE.md index 90690674..e60ca690 100755 --- a/CHANGE.md +++ b/CHANGE.md @@ -5,6 +5,7 @@ Change Log: `bootstrap-fileinput` **Date**: 19-Jun-2021 +- (enh #1719): Show loading / processing when browse button used for file selection - (enh #1718): Enhancements for Bootstrap 5.x & New Theme - Default to use bootstrap 5.x icons instead of glyphicons - Correct `layoutTemplates.main2` to use wrapper container for the buttons to use `mainClass` diff --git a/js/fileinput.js b/js/fileinput.js index b6601ea6..ea5cfd8f 100755 --- a/js/fileinput.js +++ b/js/fileinput.js @@ -84,7 +84,7 @@ }, objUrl: window.URL || window.webkitURL, isBs: function (ver) { - var chk = $.trim(($.fn.fileinputBsVersion || '') + ''); + var chk = $.trim(($.fn.fileinputBsVersion || '') + ''); ver = parseInt(ver, 10); if (!chk) { return ver === 4; @@ -1688,7 +1688,7 @@ ' {browse}\n' + ($h.isBs(5) ? '' : ' \n') + ' ' - ''; + ''; tMain2 = '{preview}\n
\n\n' + '{remove}\n{cancel}\n{upload}\n{browse}\n'; tPreview = '