Closed Bug 754464 Opened 13 years ago Closed 13 years ago

Pressing "add comment" with a selected build active should not un-select it

Categories

(Tree Management Graveyard :: TBPL, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mbrubeck, Assigned: mbrubeck)

References

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
Just a minor little pet peeve... Steps to reproduce: 1. Select some builds (using spacebar or control-click). 2. With the last selected build still active, add a comment (type "C" or click "add a comment"). Expected results: Comment is added to all builds selected in step 1. Actual results: The active build gets un-selected, so the comment is added only to the other builds. With this patch, pressing "add a comment" will select the active build if needed, but it will never un-select it.
Attachment #623321 - Flags: review?(philringnalda)
Attached patch patch v2Splinter Review
I accidentally removed one line too many. Also, no one is using the return value from _toggleSelectedBuild, so let's get rid of it and simplify the code.
Assignee: nobody → mbrubeck
Attachment #623321 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #623321 - Flags: review?(philringnalda)
Attachment #623323 - Flags: review?(philringnalda)
Comment on attachment 623323 [details] [diff] [review] patch v2 lgtm, though it'll be years before my workaround habits die :)
Attachment #623323 - Flags: review?(philringnalda) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Depends on: 756723
Depends on: 756959
Product: Webtools → Tree Management
Product: Tree Management → Tree Management Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: