Opened 7 years ago

Closed 6 years ago

#15339 closed defect (fixed)

dojox/app/controllers/History.js apparent error

Reported by: bill Owned by: Ed Chatelain
Priority: undecided Milestone: 1.9
Component: DojoX App Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

This code sets target but never uses it:

onStartTransition: function(evt){
...
        var target = evt.detail.target;
        var regex = /#(.+)/;
        if(!target && regex.test(evt.detail.href)){
                target = evt.detail.href.match(regex)[1];
        }

        // push states to history list
        history.pushState(evt.detail,evt.detail.href, evt.detail.url);
},

Change History (2)

comment:1 Changed 7 years ago by bill

Owner: changed from Eric Wang to Ed Chatelain

comment:2 Changed 6 years ago by Ed Chatelain

Milestone: tbd1.9
Resolution: fixed
Status: newclosed

This has been fixed as part of #15340.

Note: See TracTickets for help on using tickets.