Forums

Welcome Guest Search | Active Topics | Members

Possible Bug: Clicking cancel does not allow the user to push download button again Options
rawsonl
Posted: Thursday, August 16, 2007 7:26:29 AM
Rank: Member
Groups: Member

Joined: 8/15/2007
Posts: 11
Points: 12
Location: Ogden, Utah
I create a file list and assign it on the

fd.fullPageLoadListenerName = "onFullPageLoad";

event. I push the download button, use the show file list, and then press the cancel button. From then on my download button does absolutely nothing. I had to capture the success of the downloads in the "DownloadItemComplete" event then reload the file list in the "DownloadComplete" event to get around this problem. In my mind it is a bug unless there is an event for the pressing of the cancel button.

Thanks,

Linda Rawson
http://www.sensorytech.net
Eugene Kosmin
Posted: Monday, August 20, 2007 11:07:39 PM
Rank: Advanced Member
Groups: Member

Joined: 9/19/2006
Posts: 319
Points: 78
Hello Linda,

We tried to reproduce this behavior with no success. Could you post here your source code?

Cancel button pressing can be handled with Download Complete event:
Code:

function FileDownloaderID_DownloadComplete(Result)
{
      if (Result == 4)
      {
            alert("Download was cancelled by user");
      }      
}
...
fd.addEventListener("DownloadComplete", "FileDownloaderID_DownloadComplete");


Best regards,
Eugene Kosmin.

Aurigma Development Team
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Yet Another Forum.net version 1.9.1.6 running under Cuyahoga.
Copyright © 2003-2006 Yet Another Forum.net. All rights reserved.