Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#15285 closed defect (fixed)

uploader killed when link clicked

Reported by: haysmark Owned by: Mike Wilcox
Priority: undecided Milestone: 1.9
Component: DojoX Uploader Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:


See line 94 of dojox/embed/Flash.js. It appears the code suffers from the old issue where a user clicks a download link and addOnUnload gets unexpectedly called. The solution is to use addOnWindowUnload.

 dojo.addOnUnload(function(){ // this method will be call when click a href link in html page. there should change to dojo.addOnWindowUnload.
            var dummy = function(){};
            var objs = dojo.query("object").
                style("display", "none").
                    for(var p in i){
                        if((p != "FlashVars") && dojo.isFunction(i[p])){
                                i[p] = dummy;

Change History (2)

comment:1 Changed 9 years ago by Mike Wilcox

Resolution: fixed
Status: newclosed

In [30330]:

Fixes #15285 - using addOnWindowUnload to avoid IE bugs

comment:2 Changed 9 years ago by Mike Wilcox

Milestone: tbd1.9

I did not see the problem, but implemented your suggestion regardless.

Note: See TracTickets for help on using tickets.