[Tickets #9511] Re: Compose popup not opening in IE7
bugs at horde.org
bugs at horde.org
Fri Jan 14 18:55:28 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9511
------------------------------------------------------------------------------
Ticket | 9511
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | Compose popup not opening in IE7
Queue | IMP
Version | Git master
Type | Bug
-State | Unconfirmed
+State | Resolved
Priority | 1. Low
Milestone |
Patch |
-Owners |
+Owners | Michael Slusarz
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2011-01-14 13:55) wrote:
> The problem is that when composeDimp.fillForm is executed, the
> elements are not present on the page, so focus on the $('to') field
> fails.
> I also noticed that in Firefox, any onDomLoaded function present on
> other .js files get executed and only then, composeDimp.fillForm is
> called. In IE7 this happens the other way around, which can help
> explain the problem.
This is all known an expected. Which is why fillForm() doesn't run
until document.loaded is true
(http://api.prototypejs.org/dom/document/loaded/).
However, fillForm() now relies on things initialized by onDomLoad(),
and it is possible that onDomLoad() is run after fillForm(). So looks
like we need a check for that.
More information about the bugs
mailing list