Code

Opened 4 years ago

Closed 4 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.

Attachments (0)

Change History (2)

comment:1 Changed 4 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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.