[Tickets #11099] Re: Incorrect order of javascript
bugs at horde.org
bugs at horde.org
Fri Mar 23 20:49:19 UTC 2012
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/11099
------------------------------------------------------------------------------
Ticket | 11099
Updated By | Jan Schneider <jan at horde.org>
Summary | Incorrect order of javascript
Queue | Horde Framework Packages
Version | Git develop
Type | Bug
State | Feedback
Priority | 2. Medium
Milestone |
Patch |
Owners | Michael Slusarz
------------------------------------------------------------------------------
Jan Schneider <jan at horde.org> (2012-03-23 21:49) wrote:
>> If using Horde::popupJs() after the page output has already started,
>> the Horde.popup_block_text is set before popup.js is loaded.
>
> Not understanding this. Even if added after page output has
> started, the text string will be wrapped in a 'dom:loaded' event, so
> it shouldn't be executed until all scripts are loaded?
If output has been started already, any inlineScripts (and thus any
inlinJsVars too) are printed immediately if onload has been specified.
This happens in Trean for example, if you need a real-life example.
More information about the bugs
mailing list