- Main Page starts with style sheets, javascript & ajax library, starting body tag, etc.
- Login Management Custom Tag occurs in middle of page, between begin and end body tags.
- Login Management Custom Tag launches login cfwindow, navigates window to login form.
- End of page winds things down, includes closing body tag.
So, lots of searching, and I found this helpful post:
http://blogs.msdn.com/ie/archive/2008/04/23/what-happened-to-operation-aborted.aspx
and additionally this helpful post:
http://social.msdn.microsoft.com/Forums/en/iewebdevelopment/thread/db34068c-5307-4ab7-be03-15b86c2604bb
So, I tried moving my custom tag to the end of the page, outside of the body tag, and that worked great. From what I can tell, the cfwindow, or maybe the ColdFusion.navigate was trying to add elements to the body of the page, before the body had closed.
Whether or not the reason provided above is exactly correct, it makes some sense. After all, our new, ajaxy websites launch the cfwindow from within a container (usually cfdiv), meaning that the main-page's body tag has closed before the cfwindow ever tries to load.
In any case, whether my diagnosis is right or wrong, the medicine worked. This one was a tricky one, so I thought that I would share it with the world.
1 comment:
I had this problem with IE 8, but the same page didn't have any problem with FF 8.
I solved it by calling my code from jQuery(document).ready(), so the DOM is not modified before is ready.
Post a Comment