Opened 5 years ago

Closed 5 years ago

Last modified 3 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: master
Severity: Keywords:
Cc: mortas.11@… Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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 Changed 5 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to worksforme
  • Status changed from new to closed

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 Changed 3 years ago by jacob

  • milestone 1.2 deleted

Milestone 1.2 deleted

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