Skip to content

Commit 4a2070b

Browse files
committed
Updates to release v5.0.3 fixes #1409
1 parent 4261fd8 commit 4a2070b

File tree

5 files changed

+17
-12
lines changed

5 files changed

+17
-12
lines changed

.github/stale.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Number of days of inactivity before an issue becomes stale
22
daysUntilStale: 90
33
# Number of days of inactivity before a stale issue is closed
4-
daysUntilClose: 30
4+
daysUntilClose: 10
55
# Issues with these labels will never be considered stale
66
exemptLabels:
77
- bug

CHANGE.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ Change Log: `bootstrap-fileinput`
33

44
## version 5.0.3
55

6-
**Date:** _under development_
6+
**Date:** 12-May-2019
77

8+
- (enh #1409): Correct the sequence of raise of `filechunkaccess` event.
9+
- Implement stale bot.
810
- (enh #1400): Enhance image auto orientation for zoom images when thumbnail is hidden.
911
- (enh #1399): Enhance Krajee Explorer themes for better image preview.
1012
- (enh #1398): Resumable uploads enhancements (only when `enableResumableUpload` is `true`):

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -77,31 +77,31 @@ Step 1: Load the following assets in your header.
7777
```html
7878
<!-- bootstrap 4.x is supported. You can also use the bootstrap css 3.3.x versions -->
7979
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
80-
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.2/css/fileinput.min.css" media="all" rel="stylesheet" type="text/css" />
80+
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.3/css/fileinput.min.css" media="all" rel="stylesheet" type="text/css" />
8181
<!-- if using RTL (Right-To-Left) orientation, load the RTL CSS file after fileinput.css by uncommenting below -->
82-
<!-- link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.2/css/fileinput-rtl.min.css" media="all" rel="stylesheet" type="text/css" /-->
82+
<!-- link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.3/css/fileinput-rtl.min.css" media="all" rel="stylesheet" type="text/css" /-->
8383
<script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
8484
<!-- piexif.min.js is needed for auto orienting image files OR when restoring exif data in resized images and when you
8585
wish to resize images before upload. This must be loaded before fileinput.min.js -->
86-
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.2/js/plugins/piexif.min.js" type="text/javascript"></script>
86+
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.3/js/plugins/piexif.min.js" type="text/javascript"></script>
8787
<!-- sortable.min.js is only needed if you wish to sort / rearrange files in initial preview.
8888
This must be loaded before fileinput.min.js -->
89-
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.2/js/plugins/sortable.min.js" type="text/javascript"></script>
89+
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.3/js/plugins/sortable.min.js" type="text/javascript"></script>
9090
<!-- purify.min.js is only needed if you wish to purify HTML content in your preview for
9191
HTML files. This must be loaded before fileinput.min.js -->
92-
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.2/js/plugins/purify.min.js" type="text/javascript"></script>
92+
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.3/js/plugins/purify.min.js" type="text/javascript"></script>
9393
<!-- popper.min.js below is needed if you use bootstrap 4.x. You can also use the bootstrap js
9494
3.3.x versions without popper.min.js. -->
9595
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
9696
<!-- bootstrap.min.js below is needed if you wish to zoom and preview file content in a detail modal
9797
dialog. bootstrap 4.x is supported. You can also use the bootstrap js 3.3.x versions. -->
9898
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" type="text/javascript"></script>
9999
<!-- the main fileinput plugin file -->
100-
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.2/js/fileinput.min.js"></script>
100+
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.3/js/fileinput.min.js"></script>
101101
<!-- optionally if you need a theme like font awesome theme you can include it as mentioned below -->
102-
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.2/themes/fa/theme.js"></script>
102+
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.3/themes/fa/theme.js"></script>
103103
<!-- optionally if you need translation for your language then include locale file as mentioned below -->
104-
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.2/js/locales/(lang).js"></script>
104+
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.3/js/locales/(lang).js"></script>
105105
```
106106

107107
If you noticed, you need to load the `jquery.min.js` and `bootstrap.min.css` in addition to the `fileinput.min.css` and `fileinput.min.js`. The theme file `themes/fa/theme.js` can be optionally included for the font awesome icons styling. The locale file `<lang>.js` can be optionally included for translating for your language if needed.

js/fileinput.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1311,8 +1311,8 @@
13111311
}
13121312
rm.processed[id][data[chunkIndex]] = true;
13131313
rm.processed[id].data = data;
1314-
rm.check();
13151314
self._raise('filechunksuccess', params);
1315+
rm.check();
13161316
}
13171317
};
13181318
fnError = function (jqXHR, textStatus, errorThrown) {

js/fileinput.min.js

+4-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)