Closed Bug 1679265 Opened 3 years ago Closed 3 years ago

remove <deck> from importDialog.xhtml

Categories

(Thunderbird :: General, task)

Tracking

(thunderbird_esr78 wontfix, thunderbird84 wontfix)

RESOLVED FIXED
85 Branch
Tracking Status
thunderbird_esr78 --- wontfix
thunderbird84 --- wontfix

People

(Reporter: mkmelin, Assigned: khushil324)

References

Details

Attachments

(1 file, 1 obsolete file)

Assignee: nobody → khushil324
Attachment #9189842 - Flags: review?(mkmelin+mozilla)
Status: NEW → ASSIGNED
Comment on attachment 9189842 [details] [diff] [review]
Bug-1679265_de-deck-importDialog-xhtml-0.patch

Review of attachment 9189842 [details] [diff] [review]:
-----------------------------------------------------------------

::: mailnews/import/content/importDialog.js
@@ +147,5 @@
> +  let stateBox = document.getElementById("stateBox");
> +  for (let element of stateBox.children) {
> +    element.hidden = true;
> +  }
> +  stateBox.children[index].hidden = false;

I'd think this gives a potential small flickering. Better to loop with 
for (let i = 0 ; i < stateBox.children.length; i++) {
  stateBox.children[i].hidden = (i == index);
}
Attachment #9189842 - Flags: review?(mkmelin+mozilla)
Attachment #9189842 - Attachment is obsolete: true
Attachment #9189924 - Flags: review?(mkmelin+mozilla)
Comment on attachment 9189924 [details] [diff] [review]
Bug-1679265_de-deck-importDialog-xhtml-1.patch

Review of attachment 9189924 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM, r=mkmelin
Attachment #9189924 - Flags: review?(mkmelin+mozilla) → review+
Target Milestone: --- → 85 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/dcb6687561af
remove <deck> from importDialog.xhtml. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: