Declined
Last Updated: 12 Aug 2015 16:01 by Ryan
Ryan
Created on: 13 Aug 2014 16:32
Category: AsyncUpload
Type: Bug Report
0
uploadremoving event not fired when you call .deleteFileInputAt
when deleting files from radasyncupload via the "built-in" delete button, both the upload_removing and upload_removed events are fired. However, when deleting files via the api, only the uploadRemoved event is fired.

to reproduce: 
1. run attached web form. select file for upload. click remove button. view console. note console entries have text "filename in UPloadRemoving.." as well as "filename in UploadRemoved...". Good

2. click the "delete via api" checkbox to enable. select another file. view console. Note console entry only has text "filename in UploadRemoved..." bad.
Attached Files:
2 comments
Ryan
Posted on: 12 Aug 2015 16:01
I agree, but it doesn't fire even when there is an uploaded file. Perhaps I should have explicitly said in step 2 "upload another file". I believe that when you delete a file, both removing and removed events should fire, but this is only the case when you do so via button. Behaviour via API is different.
ADMIN
Peter Filipov
Posted on: 03 Aug 2015 13:36
The event is applicable only when there is an uploaded file.