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
fileinput.js:3017 Uncaught TypeError: Cannot read property 'find' of undefined
at FileInput._refreshUploadButton (fileinput.js:3017)
at FileInput._setPreviewError (fileinput.js:3014)
at fileinput.js:2146
The text was updated successfully, but these errors were encountered:
BakasuraRCE
changed the title
OnError event have a bad behavior with the thumbs
OnError event have a bad behavior with the showPreview option
Sep 18, 2017
Prerequisites
master
branch of bootstrap-fileinput.Steps to reproduce the issue
showPreview
tofalse
Expected behavior and actual behavior
The variable
$thumb
is not defined whenshowPreview
are disabled:bootstrap-fileinput/js/fileinput.js
Line 2146 in 5911e2c
Other events have a checker about it:
bootstrap-fileinput/js/fileinput.js
Line 2095 in 5911e2c
The text was updated successfully, but these errors were encountered: