Closed
Bug 797680
Opened 12 years ago
Closed 12 years ago
"Reset Assignee to default" and "Reset QA Contact to default" should only be checked when the assignee/qa-contact is the default
Categories
(Bugzilla :: Creating/Changing Bugs, defect)
Bugzilla
Creating/Changing Bugs
Tracking
()
RESOLVED
FIXED
Bugzilla 4.4
People
(Reporter: glob, Assigned: glob)
Details
(Keywords: selenium)
Attachments
(1 file)
2.51 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #713796 +++
1. Pick an open bug that's assigned to an actual person.
2. Select another component to move it to.
3. Look at the "Reset Assignee to default" checkbox that appears after step 2.
Result: it's checked
Expected: it should be unchecked
Attachment #667808 -
Flags: review?(LpSolit)
![]() |
||
Comment 1•12 years ago
|
||
Comment on attachment 667808 [details] [diff] [review]
patch v1
>+ if (document.getElementById('qa_contact')
>+ && document.getElementById('qa_contact').value == defaults[1])
If someone cleared the QA contact, shouldn't we reset it too? In that case, the test above would become:
if (!document.getElementById('qa_contact')
|| document.getElementById('qa_contact').value == defaults[1])
Anyway, your patch looks good and works fine. r=LpSolit in all cases.
Attachment #667808 -
Flags: review?(LpSolit) → review+
![]() |
||
Updated•12 years ago
|
Status: NEW → ASSIGNED
Flags: approval4.4+
Flags: approval+
Target Milestone: --- → Bugzilla 4.4
(In reply to Frédéric Buclin from comment #1)
> If someone cleared the QA contact, shouldn't we reset it too?
the qa_contact field gets the same treatment as the assignee field.
the first part of that condition looks for the existence of the field (for instances where the qa_contact field is disabled).
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bugzilla/trunk/
modified js/field.js
modified template/en/default/bug/edit.html.tmpl
Committed revision 8437.
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bugzilla/4.4/
modified js/field.js
modified template/en/default/bug/edit.html.tmpl
Committed revision 8426.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
![]() |
||
Comment 3•12 years ago
|
||
Added to relnotes for 4.4.
You need to log in
before you can comment on or make changes to this bug.
Description
•