-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fileuploadederror triggered twice times if two uploaded files uploaded before #1014
Comments
if three file uploaded to server before,next time select a invalid file,the fileuploadederror will trigger three times.why this? |
fileInput:{
|
same question ,you can change on to one trigger only once . probably,it`s bug for trigger event. |
I have added event.preventDefault() here,but i was failed.am i wrong?
At 2017-07-20 17:52:20, "erick-x" <notifications@github.com> wrote:
same question ,you can add e.preventDefault() to fileuploaded event 。Good luck to you
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
how do you use $el.fileinput("refresh"); ? because I am having problems to refresh the content with ajax... see this link maybe you know what is the problem is: here |
@mj3018 It seems some problem the way you are writing your code. Cross check as cannot reproduce this. Anyway there are some related enhancements added as well to file upload single method currently. |
Any news about the problem of refreshing the images with ajax calls properly like in my link i provided and no news about it: https://www.dropbox.com/s/ugwhk09apy99fag/github-fileinput-issue.mov?dl=0 can you provide where did you cross check this issue with ajax maybe in codepen.io because in my case all the check produce the same issue all the time... Images not being refreshing dynamically when requested via ajax... |
upload file in a modal,first time upload two files to server,then reopen the modal,upload a invalid file,the fileuploadederror will trigger twice.
The text was updated successfully, but these errors were encountered: