Closed
Bug 1277023
Opened 8 years ago
Closed 8 years ago
Delete key has no function in alias window
Categories
(MailNews Core :: Account Manager, enhancement)
MailNews Core
Account Manager
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 51.0
People
(Reporter: bugzilla.mozilla.org-6h11, Assigned: aceman)
Details
Attachments
(1 file)
4.98 KB,
patch
|
mkmelin
:
review+
|
Details | Diff | Splinter Review |
In the alias list in account preferences, it should be possible to trigger the delete action using the [Delete] key on the keyboard.
Updated•8 years ago
|
Component: Mail Window Front End → Account Manager
Yes, this is doable. The patch adds Delete for deletion, Insert for "add...".
Assignee: nobody → acelists
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #8776286 -
Flags: review?(mkmelin+mozilla)
Comment 2•8 years ago
|
||
Comment on attachment 8776286 [details] [diff] [review] patch Review of attachment 8776286 [details] [diff] [review]: ----------------------------------------------------------------- ::: mailnews/base/prefs/content/am-identities-list.js @@ +126,5 @@ > > + gEditButton.setAttribute("disabled", "false"); > + gDeleteButton.setAttribute("disabled", (gIdentityListBox.itemCount <= 1) ? "true" : "false"); > + gSetDefaultButton.setAttribute("disabled", (gIdentityListBox.selectedIndex == 0) ? "true" : "false"); > + // The Add command is always be enabled. Why all the changes to use setAttribute("disabled") instead of .disabled?
It seems to me there is no "disabled" property on a <command>, only an attribute.
Comment 4•8 years ago
|
||
Comment on attachment 8776286 [details] [diff] [review] patch Review of attachment 8776286 [details] [diff] [review]: ----------------------------------------------------------------- LGTM! r=mkmelin
Attachment #8776286 -
Flags: review?(mkmelin+mozilla) → review+
https://hg.mozilla.org/comm-central/rev/c482d8a2cd6178a9e5990c07b6c7c09dc63d919d
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
OS: Windows 7 → All
Product: Thunderbird → MailNews Core
Hardware: x86 → All
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 51.0
Version: 45 Branch → Trunk
Comment 6•8 years ago
|
||
English derailed here: https://hg.mozilla.org/comm-central/rev/c482d8a2cd6178a9e5990c07b6c7c09dc63d919d#l1.52 "The Add command is always be enabled." Right ;-)
Comment 7•8 years ago
|
||
Fixed that: https://hg.mozilla.org/comm-central/rev/44003aa9b4de I needed something to push since the previous push went in with DONTBUILD for no apparent reason.
You need to log in
before you can comment on or make changes to this bug.
Description
•