There should be a onBeforeUnload() handler to catch user from navigating away from the page while upload is in progress. Right now, if I leave the page while upload is in progress, I get "division by zero warning".

Comments

skilip’s picture

Currently the file upload will either be aborted or the file status will be left false when the user navigates away form the page. If the file status is false, the file fill be automatically deleted after cron. To add an oBeforeUnload callback won't be solid enough AFAIK, while you can't catch this event if the browsers window is closed. The 'division by zero' warning seems to be a bug. I will look at that asap.

skilip’s picture

Status: Active » Closed (fixed)