Opened 8 years ago

Closed 4 years ago

#15357 closed defect (patchwelcome)

dojo.hash changes location to completely different page

Reported by: haysmark Owned by: Rob Retchless
Priority: undecided Milestone: 1.13
Component: Core Version: 1.7.2
Keywords: Cc:
Blocked By: Blocking:

Description

  1. Save hashtest.html and hashiframe.html as siblings to the dojo,dijit,dojox dirs.
  2. Load hashtest.html. It will load hashiframe.html in an iframe and call dojo.hash("test") and dojo.hash("test2")
  3. You will get two alert dialogs indicating two problems:
    1. the hash of the iframe after calling dojo.hash('test2') is not set
    2. instead of loading hashiframe.html#test2 in the iframe, dojo.hash loads hashtest.html#test2.

Attachments (2)

hashtest.html (1.2 KB) - added by haysmark 8 years ago.
Main test.
hashiframe.html (482 bytes) - added by haysmark 8 years ago.
Supplemental file.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by haysmark

Attachment: hashtest.html added

Main test.

Changed 8 years ago by haysmark

Attachment: hashiframe.html added

Supplemental file.

comment:1 Changed 8 years ago by Adam Peller

Owner: set to Rob Retchless
Status: newassigned

comment:2 Changed 4 years ago by dylan

Milestone: tbd1.12
Resolution: patchwelcome
Status: assignedclosed

Given that no one has shown interest in creating a patch in the past 3+ years, I'm closing this as patchwelcome.

Note: See TracTickets for help on using tickets.