Skip to content

Commit

Permalink
Fix #956: Correct initial preview file thumb deletions
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed May 3, 2017
1 parent 6c4be4f commit 4026280
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ Change Log: `bootstrap-fileinput`

## version 4.4.0 (_under development_)

**Date:** 02-May-2017
**Date:** 03-May-2017

- (bug #956): Correct initial preview file thumb deletions.
- (bug #955): Remove unnecessary `sourceMappingUrl` in `purify.min.js`.
- (enh #954): Add minified theme assets.
- (enh #952): Auto orientation of image based on EXIF data (new property `autoOrientImage`).
Expand Down
1 change: 0 additions & 1 deletion js/fileinput.js
Original file line number Diff line number Diff line change
Expand Up @@ -2266,7 +2266,6 @@
success: function (data, textStatus, jqXHR) {
var n, cap;
if ($h.isEmpty(data) || $h.isEmpty(data.error)) {
self.previewCache.init();
index = parseInt(($frame.attr('data-fileindex')).replace('init_', ''));
self.previewCache.unset(index);
n = self.previewCache.count();
Expand Down
Loading

0 comments on commit 4026280

Please sign in to comment.