Skip to content

Commit

Permalink
Fix #1583: Correct cspBuffer stash html content store
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-v committed Jun 9, 2020
1 parent 2cd1b40 commit 83ae330
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Change Log: `bootstrap-fileinput`

**Date:** _under development_

- (bug #1583): Correct cspBuffer stash html content store.
- (enh #1582): Set `showConsoleLogs` to `false` as default.
- (enh #1581): Enhance Sortable Behavior & Styles.
- Update to use latest release of Rubaxa Sortable Plugin
Expand Down
4 changes: 2 additions & 2 deletions js/fileinput.js
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@
return outerDom[itm];
});
return values.flatMap(function (elem) {
return elem.outerHTML;
return elem.innerHTML;
}).join('');
},
apply: function (domElement) {
Expand Down Expand Up @@ -2675,7 +2675,7 @@
self._validateDefaultPreview();
},
_initSortable: function () {
var self = this, $el = self.$preview.find('>div'), settings, selector = '.' + $h.SORT_CSS,
var self = this, $el = self.$preview, settings, selector = '.' + $h.SORT_CSS,
rev = self.reversePreviewOrder, Sortable = window.Sortable;
if (!Sortable || $el.find(selector).length === 0) {
return;
Expand Down
Loading

0 comments on commit 83ae330

Please sign in to comment.