Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#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.

Change History (2)

comment:1 by Russell Keith-Magee, 14 years ago

Resolution: worksforme
Status: newclosed

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.

comment:2 by Jacob, 13 years ago

milestone: 1.2

Milestone 1.2 deleted

Note: See TracTickets for help on using tickets.
Back to Top