Javascript error in IE7

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Javascript error in IE7

Postby comperio » Thu Jun 19, 2008 2:46 pm

I know IE 7 isn't "officially" supported, but I thought perhaps someone here might have some suggestions of what to look for:

When I get the login page, I notice a javascript error displayed as an icon in the status bar. When I double-click the error icon, this is what I see:
line: 57
char: 2
Error: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus
Code: 0

When I view the source, line 57 is part of an if statement that looks like this:
Code: Select all
if (document.forms[0])
   document.forms[0].elements[0].focus();

Firefox does not give the error. (Maybe because it's Firefox, or maybe because there is a setting in Firefox that is suppressing the error.)

It doesn't seem to cause any harm. I'm just curious as to why this is happening. (I'm not much of a javascript guru).
comperio
TestLink user
 
Posts: 3
Joined: Thu Jun 19, 2008 2:38 pm
Location: Oregon Coast

Return to TestLink 1.8 (OBSOLETE => EOL)[LOCKED]



Who is online

Users browsing this forum: No registered users and 5 guests

cron