You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I usedfilesortedevent and I got stack which was array of undefined. I debugged code and figured out these lines are the problem: https://github.com/kartik-v/bootstrap-fileinput/blob/master/js/fileinput.js#L1636-L1638
concat() does not change existing arrays, so new data are initialPreview, initialPreviewThumbTags, initialPreviewConfig are unmodified after upload. Simple fix and I am getting correct stack:
Today I used
filesorted
event and I got stack which was array ofundefined
. I debugged code and figured out these lines are the problem: https://github.com/kartik-v/bootstrap-fileinput/blob/master/js/fileinput.js#L1636-L1638concat() does not change existing arrays, so new data are initialPreview, initialPreviewThumbTags, initialPreviewConfig are unmodified after upload. Simple fix and I am getting correct stack:
Am I right?
The text was updated successfully, but these errors were encountered: