Browse Source

Fix #576: Correct previewCache initialization

Kartik Visweswaran 9 years ago
parent
commit
e3c9b61fdf
3 changed files with 3 additions and 2 deletions
  1. 2 1
      CHANGE.md
  2. 1 1
      js/fileinput.js
  3. 0 0
      js/fileinput.min.js

+ 2 - 1
CHANGE.md

@@ -3,7 +3,7 @@ Change Log: `bootstrap-fileinput`
 
 ## version 4.3.1
 
-**Date:** 27-Feb-2016
+**Date:** 28-Feb-2016
 
 1. (enh #514): Set default value for `removeFromPreviewOnError` to `false`.
 2. (enh #554): Update documentation and demos to include `webkitdirectory` for upload.
@@ -18,6 +18,7 @@ Change Log: `bootstrap-fileinput`
 10. (enh #573): Update package.json to include `peerDependencies`.
 11. (enh #574): Change naming convention for private / internal methods. Prepend internal plugin methods with underscore `_`.
 12. (enh #575): Implement public method chaining and update docs for methods.
+13. (bug #576): Correct previewCache initialization.
 
 ## version 4.3.0
 

+ 1 - 1
js/fileinput.js

@@ -619,7 +619,7 @@
             self.fileActionSettings = $.extend(true, defaultFileActionSettings, options.fileActionSettings);
             self.previewInitId = "preview-" + uniqId();
             self.id = self.$element.attr('id');
-            previewCache._init(self);
+            previewCache.init(self);
             self._initPreview(true);
             self._initPreviewDeletes();
             self.options = options;

File diff suppressed because it is too large
+ 0 - 0
js/fileinput.min.js


Some files were not shown because too many files changed in this diff