Closed (fixed)
Project:
SWFUpload
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
29 Jan 2009 at 02:14 UTC
Updated:
3 May 2010 at 21:00 UTC
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
Comment #1
skilip commentedCurrently 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.
Comment #2
skilip commented