Closed
Bug 1082607
Opened 10 years ago
Closed 10 years ago
Disable Edit and Remove buttons on Tag Manager when there is no selection
Categories
(Thunderbird :: Preferences, defect)
Thunderbird
Preferences
Tracking
(thunderbird36 fixed)
RESOLVED
FIXED
Thunderbird 36.0
Tracking | Status | |
---|---|---|
thunderbird36 | --- | fixed |
People
(Reporter: javirid, Assigned: javirid)
Details
(Keywords: polish)
Attachments
(1 file, 1 obsolete file)
2.91 KB,
patch
|
Details | Diff | Splinter Review |
Steps to Reproduce: ------------------- 1. Open Tag Manager on Preferences/Display 2. There should be some tags in a list-box. Don't select any of them. 3. Press Edit button or Remove button. What happens ------------ Nothing (in fact, that is right!) Results expected ---------------- Neither Edit nor Remove buttons should be clickable when no action will be performed after the click event.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8522495 -
Flags: review?(mkmelin+mozilla)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → leofigueres
Status: NEW → ASSIGNED
Comment 2•10 years ago
|
||
Comment on attachment 8522495 [details] [diff] [review] Disable Edit and Remove buttons on Tag Manager when there is no selection Review of attachment 8522495 [details] [diff] [review]: ----------------------------------------------------------------- Nice polish, thx Javi! r=mkmelin "let" is generally perferred over "var" for new code, though personally I don't care that much. If you want you can also inline the listBox and btnRemove usage, e.g. document.getElementById("removeTagButton").disabled = ..... ::: mail/components/preferences/display.js @@ +241,5 @@ > "chrome,titlebar,modal", > args); > + }, > + > + OnSelect: function() please use lowerCamelCase for function names
Attachment #8522495 -
Flags: review?(mkmelin+mozilla) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8522495 -
Attachment is obsolete: true
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 4•10 years ago
|
||
https://hg.mozilla.org/comm-central/rev/b43cb16978c8 -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 36.0
Updated•10 years ago
|
Keywords: checkin-needed
Updated•9 years ago
|
status-thunderbird36:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•