New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unspecified error when loading in iframe in IE #2064

Closed
SamuelKC opened this Issue Jul 13, 2011 · 1 comment

Comments

Projects
None yet
3 participants
@SamuelKC
Contributor

SamuelKC commented Jul 13, 2011

I use an iframe to show a preview of my application. It work great in Firefox and Chrome, but in IE it throw an "unspecified error" and the application is not loaded displaying a blank page instead.

The error is at line 2962:

$( document.activeElement || "" ).add( "input:focus, textarea:focus, select:focus" ).blur();

It seem that in IE document.activeElement throw an unspecified error instead or returning null when loading an iframe. Wrapping the line in a try catch seem to fix the issue.

@abdulqadir

This comment has been minimized.

Show comment
Hide comment
@abdulqadir

abdulqadir Jul 13, 2011

I have the same problem in IE9, IE8 seems to work fine though

abdulqadir commented Jul 13, 2011

I have the same problem in IE9, IE8 seems to work fine though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment