Binary package expander triangles reload the page

Bug #296333 reported by Matthew Paul Thomas
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Michael Nelson

Bug Description

1. Go to <https://edge.launchpad.net/ubuntu/intrepid/i386/python-lxml>.
2. Click any of the expander triangles in the left column of the "Publishing history" table.

What should happen: The row expands.
What actually happens: The row expands, but the page is immediately replaced by <https://edge.launchpad.net/ubuntu/intrepid/i386/python-lxml/+index#>, which has the section collapsed.

I was going to say "the JavaScript needs to return false to prevent the link from going anywhere", but then I realized the triangles shouldn't be links in the first place (unless they go to a static version of the page with the relevant section pre-expanded).

Tags: lp-soyuz
Revision history for this message
Julian Edwards (julian-edwards) wrote :

Hmmm. I just re-created this and now I can't at all.

I wonder if you clicked on the expander before the JS loaded? Can you confirm that?

Changed in soyuz:
status: New → Incomplete
Revision history for this message
Julian Edwards (julian-edwards) wrote :

OK nm, I re-created it by removing the /+index# after it reloaded.

Changed in soyuz:
assignee: nobody → michael.nelson
importance: Undecided → Medium
milestone: none → 2.1.12
status: Incomplete → Triaged
Celso Providelo (cprov)
Changed in soyuz:
milestone: 2.1.12 → 2.2.1
Revision history for this message
Michael Nelson (michael.nelson) wrote :

Removing the anchor link and replacing it with a span that has it's 'cursor' style set to 'pointer' (ie. the hand) when JS in enabled.

Changed in soyuz:
status: Triaged → In Progress
Revision history for this message
Michael Nelson (michael.nelson) wrote :

Fixed with r7500.

Changed in soyuz:
status: In Progress → Fix Committed
Changed in soyuz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.