Closed Bug 225878 Opened 21 years ago Closed 21 years ago

Server name for Movemail accounts spuriously hidden

Categories

(SeaMonkey :: MailNews: Message Display, defect)

All
Linux
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Stefan.Borggraefe, Assigned: Stefan.Borggraefe)

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

Regression from bug 222940. The cause for this bug is that the function
hideShowControls() hides the enclosing container instead the element itself when
the element doesn't have the attribute iscontrolcontainer="true".
Attached patch Patch (obsolete) — Splinter Review
Attachment #135646 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 135646 [details] [diff] [review]
Patch

Would it be possible to remove all occurrences of iscontrolcontainer and
hidable and simply put hidefor on the control containers?
document.getElementsByAttribute("hidefor", "*") would help. Otherwise at least
remove iscontrolcontainer="true" from that hbox.
Attachment #135646 - Flags: review?(neil.parkwaycc.co.uk)
> Would it be possible to remove all occurrences of iscontrolcontainer and
> hidable and simply put hidefor on the control containers?

This was actually what I did at first. But then I thought the patch was getting
a bit large for this small bug and I wasn't sure if I missed the point of the
(IMHO overdone) function to hide the controls.

But since you are positive about this change, here is the patch. :-)

The Offline & Diskspace pane uses the same code. With my patch this bad
smelling duplicate code is avoided.
Attachment #135646 - Attachment is obsolete: true
Attachment #135792 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 135792 [details] [diff] [review]
Simplify the way the controls are hidden.

Hey, you're getting good at this ;-)
Attachment #135792 - Flags: review?(neil.parkwaycc.co.uk) → review+
Attachment #135792 - Flags: superreview?(bienvenu)
Attachment #135792 - Flags: superreview?(bienvenu) → superreview+
Checked in by timeless. Marking FIXED.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: