Closed
Bug 1207733
Opened 9 years ago
Closed 9 years ago
Remove password button should be disabled when no row is selected
Categories
(Toolkit :: Password Manager, defect)
Toolkit
Password Manager
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: rfeeley, Assigned: roland.sako, Mentored)
References
()
Details
(Whiteboard: [lang=js][lang=xul])
Attachments
(1 file)
1.07 KB,
patch
|
MattN
:
review+
|
Details | Diff | Splinter Review |
The remove password button should be disabled when no row is selected like it is in the exceptions section.
Comment 1•9 years ago
|
||
Reporter | ||
Comment 2•9 years ago
|
||
I should add that the button is disabled when the saved logins are first opened, but that it does not become disabled after all rows are deselected.
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8675287 -
Flags: review?(MattN+bmo)
Updated•9 years ago
|
Assignee: nobody → roland.sako
Status: NEW → ASSIGNED
Comment 4•9 years ago
|
||
Comment on attachment 8675287 [details] [diff] [review]
bug-1207733.patch
Review of attachment 8675287 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/components/passwordmgr/content/passwordManager.js
@@ +159,5 @@
> var selections = GetTreeSelections(signonsTree);
> if (selections.length) {
> document.getElementById("removeSignon").removeAttribute("disabled");
> }
> + else {
Nit: For the future, this file (and most Mozilla code) cuddles the `else`. I will fix this before pushing.
Attachment #8675287 -
Flags: review?(MattN+bmo) → review+
Comment 6•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Comment 7•9 years ago
|
||
Roland, congrats on getting your patch landed! Would you be interested in working on bug 1173583 next?
Reporter | ||
Comment 8•9 years ago
|
||
Congrats Roland!!
You need to log in
before you can comment on or make changes to this bug.
Description
•