#164 new
Greg Bluvshteyn

JS error in IE (Can't move focus to the controll because it's invisible)

Reported by Greg Bluvshteyn | January 26th, 2010 @ 10:42 PM | in 0.9.10 "Alekhine"

First of, great product. Haven't had so much joy for a really long time ( hey it's ruby :))

This is the error that I've encountered using IE6/7 ( Firefox (as always) does not have this issue)
I've seen this problem from 0.9.8 to the latest versions of fat free crm

  1. Create a lead
  2. open a lead from a list

Show action would produce an error:

Can't move focus to the control because it's invisible, not enabled or of a type that does not accept the focus.

I think it's because IE does not deal well with display:none and for example when you show comment div#post is hidden.
Also, you will find a bit different but similar in nature issue when you'd try editing a lead which you'd open through show action.
There I was getting rjs error related to not being able to find edit_lead div which was hidden using the same style.

I've fixed it in my version of your application but I had to do it quick and dirty so I'm kind of ashamed to provide a patch.

Thanks again.

Comments and changes to this ticket

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 ยป

Ruby on Rails CRM platform for Web 2.0 and beyond

People watching this ticket

Pages