Upload completed callback #872
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello all, i use this awesome plugin on my angular 4 app and everything works well, but i have one issue that i'm not sure how to fix, so when i finish uploading first item, onSuccessItem callback triggers and i do some logic there, BUT when i upload another file that same callback won't trigger. My question is how to trigger onSuccessItem callback every time when file is uploaded, i don't want to refresh page. My code looks like this.
Did you manage to get it working? I am sitting with the same problem.
@SuperMariosYoshi
Did your code work well?
The same problem I meet, waiting for your kind response
@mojia
I solved mine, the problem with me was I was instantiating a new uploader when I intercept the upload so I can set the url. Removing that solved my problem.
Is this still an existing problem ? Or we can close the issue...
this.uploader.onSuccessItemreturnsnullin my case withstatus = 0, Can anyone help me with this? I can see the return response in Chrome network tab.I have the same problem i find out the problem occurs when ng webpack dev serve detect file changes
On the assets folder which it happens to be the upload dir and reload to build the new bundle.
I deactivated live reload with
ng serve --live-reload falseto solve this issue