Open
Bug 312708
Opened 19 years ago
Updated 2 years ago
Javascript code in navigation does not refresh page if anchor is used in url
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
NEW
People
(Reporter: jeremy.crowell, Unassigned)
References
()
Details
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 The navigation bar on the left side of the page listed uses the code history.go(0) when the arrows are clicked to show/hide the links below it. However, when you go to a page with an anchor in the URL, it will not refresh (however, the command is still processed and a manual refresh will hide/show that part of the navigation.) Reproducible: Always Steps to Reproduce: 1. Go to http://ai.volpe.dot.gov/CarrierResearchResults/Archives.asp?p=20#safestatA 2. Click on an arrow in the navigation bar on the left side of the page. Actual Results: The page does nothing. Expected Results: The page should refresh and hide that part of the navigation.
Comment 1•19 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051016 Firefox/1.6a1 ID:2005101619 Occurs on trunk, too. I have a feeling this has something to do with the other onclick handler in the link.
Version: unspecified → Trunk
Comment 2•19 years ago
|
||
This is a minimized testcase of the issue described. Click the first link, then the second. The page should reload.
Comment 3•19 years ago
|
||
This just proves that history.go(0) works without an anchor.
Updated•19 years ago
|
Attachment #199892 -
Attachment description: testcase without a anchor → testcase without an anchor
Well, the only difference between that page, and one of the pages from the other area of that site is that it uses anchors. I just wanted to point out that anchors and the history.go link don't seem to work together.
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: History → Bookmarks & History
QA Contact: history → bookmarks
Updated•10 years ago
|
Component: Bookmarks & History → Document Navigation
Product: Firefox → Core
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•