Closed
Bug 425834
Opened 17 years ago
Closed 17 years ago
SHOWFOR doesn't hide text with headings
Categories
(support.mozilla.org :: Knowledge Base Software, task, P2)
support.mozilla.org
Knowledge Base Software
Tracking
(Not tracked)
VERIFIED
FIXED
0.6.2
People
(Reporter: cilias, Assigned: nkoth)
References
Details
(Whiteboard: sumo_only)
Does not hide text:
{SHOWFOR(os=linux)}
!level 1 heading
text
{SHOWFOR}
Does hide text:
!level 1 heading
{SHOWFOR(os=linux)}
text
{SHOWFOR}
Further testing: <http://support.mozilla.com/en-US/kb/Testing>
| Reporter | ||
Updated•17 years ago
|
Assignee: nobody → nelson
| Reporter | ||
Comment 1•17 years ago
|
||
Judging from some other articles it doesn't seem dependent on headings. I not sure what the circumstances are, to replicate this.
| Reporter | ||
Updated•17 years ago
|
Severity: normal → major
| Reporter | ||
Comment 2•17 years ago
|
||
With further testing, it appears to be specific to level 1 headings (!).
Summary: SHOWFOR doesn't hide text with headings → SHOWFOR doesn't hide text with level 1 headings
| Reporter | ||
Comment 3•17 years ago
|
||
Note: http://support.mozilla.com/en-US/kb/Firefox+crashes+when+using+Yahoo+Mail needs to be updated, when this bug is fixed. It's currently using a workaround.
Summary: SHOWFOR doesn't hide text with level 1 headings → SHOWFOR doesn't hide text with headings
| Reporter | ||
Comment 4•17 years ago
|
||
| Assignee | ||
Updated•17 years ago
|
Priority: -- → P2
Updated•17 years ago
|
Target Milestone: --- → 0.6.2
| Assignee | ||
Comment 5•17 years ago
|
||
The problem was caused by javascript unsuccessfully attempting to change the visibility of the table of contents entry of the heading within the SHOWFOR in the cases where there is no table of contents on the page. This is solved by making the javascript check for the existence of that table of contents entry before trying to do anything.
Fix in r17666/r17667
Comment 6•17 years ago
|
||
Removing "push-needed" keyword since this has been deployed to production.
Keywords: push-needed
Comment 7•17 years ago
|
||
While the underlying bug is verified fixed (based on my testing of it in http://support.mozilla.com/en-US/kb/Testing), the two URLs in comment 3 and comment 4 should be fixed; Chris, could you do the honors? Thanks!
| Reporter | ||
Comment 8•17 years ago
|
||
Updated•16 years ago
|
Whiteboard: sumo_only
You need to log in
before you can comment on or make changes to this bug.
Description
•