#13133 closed (worksforme)
The "Add another [inline object]" breaks alternating rows' colors in tabular template
Reported by: | Althalus | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | dev |
Severity: | Keywords: | ||
Cc: | mortas.11@… | Triage Stage: | Unreviewed |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I've found a bug, which was also noticed in Ticket #13068:
""" BTW: The alternating row colors also dissappear for me in firefox when I click "Add another.." """
I've cheked it in other browsers, like Chrome and Opera.
As I think, it's simple to solve this problem by changing only one line (according to recommendations for tickets, I don't attach separate file for such a little changeset):
Line 74 now:
.filter(rows + ":odd").addClass("row2")
Should be just:
.filter(":odd").addClass("row2")
P.S. My first ticket, sorry for possible errors.
We're going to need some more specific details -- I don't see any problems with alternating row colors under Safari (4.0.4), Firefox (3.5.8) or Chrome (5.0.307.11 beta) under OSX.