With really big uploads, batch_upload can take a non-trivial amount of time. If you close the modal before it's complete, the user will see incorrect data. If the user then reloads the page, batch_upload will be cancelled and that incorrect data will become permanent.
So... we should probably wait for batch_upload to complete before closing the modal. This can be implemented similar to the bulk deletion action.
With really big uploads,
batch_upload
can take a non-trivial amount of time. If you close the modal before it's complete, the user will see incorrect data. If the user then reloads the page,batch_upload
will be cancelled and that incorrect data will become permanent.So... we should probably wait for
batch_upload
to complete before closing the modal. This can be implemented similar to the bulk deletion action.