Javascript for approving / declining nominations is confusing

Bug #271697 reported by Graham Binns
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Ian Booth

Bug Description

When a bug with multiple tasks has been nominated for release, each nomination (when looked at by someone with sufficient privileges) has an approve/decline link. Clicking that link is supposed to expand the approve/decline buttons for that nomination (or at least that's how it looks based on the current format of the UI).

The trouble is that clicking on any of those links will only expand the Approve / Decline form for the first BugNomination. This is because the divs that the forms are in are named after the BugNomination, of which there is only one: they all have the same id attribute.

Related branches

Graham Binns (gmb)
Changed in malone:
status: New → Triaged
Revision history for this message
John Dong (jdong) wrote :

I'm seeing the same behavior when I look at bug https://bugs.edge.launchpad.net/ubuntu/+source/pymsn/+bug/401028

Both pymsn and papayon have approve/decline links, but only the top one (papayon) expands no matter which link I click.

Revision history for this message
Emmet Hikory (persia) wrote :

Note that this may just be an expression of bug #110195 in javascript.

Changed in launchpad:
importance: Undecided → High
description: updated
Curtis Hovey (sinzui)
tags: added: bug-nomination
Curtis Hovey (sinzui)
tags: added: javascript
Ian Booth (wallyworld)
Changed in launchpad:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Ian Booth (wallyworld)
tags: added: qa-ok
removed: qa-needstesting
William Grant (wgrant)
Changed in launchpad:
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.