#2475 closed defect (bug) (fixed)
jQuery alt class insert - looks at tr for an entire page instead of per table
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.5 |
| Component: | Core | Version: | |
| Severity: | Keywords: | ||
| Cc: |
Description
If inserting another table above (or even below) - lets say the forums component recent discussion (but anything using forums-loop or other means)
The jQuery code used to insert the alt class (along with the php filter used to insert the alt class too) will cause all rows to be highlighted depending on the table above (or below)
See attached screenshots
Attachments (2)
Change History (5)
Adding one more row to a table above it - corrects the alt class on tables below it
I don't have a patch (not a jquery pro) - but I guess the jQuery code should look at each table->tr on a page instead of all tr's on a page.
comment:2
johnjamesjacoby — 3 years ago
- Resolution set to duplicate
- Status changed from new to closed
Duplicate of #2465. Thanks for the extra information and screen shots; helped to formulate a fix.

All rows highlighted with alt class