#20 ✓resolved
Jeremy Lightsmith

A dashboard with 6 or more projects breaks in Firefox

Reported by Jeremy Lightsmith | April 21st, 2008 @ 01:47 PM | in 1.3

There is a condition in app/views/projects/index.rhtml that checks to see if there are 5 projects or less. If there are, it renders the project partial for each project. If there are more then it renders the project partial for each project inside a tag. This results in a duplicated list of projects in Firefox. Simply removing the conditional results in the intended project list. This problem doesn't occur in Safari. I've created a patch here[1]. As an aside, I think you can use render :partial => 'project', :collection => @projects instead of iterating over the projects. [1] http://pastie.caboo.se/105696

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Tags

Pages