Summary | Incorrect order of javascript |
Queue | Horde Framework Packages |
Queue Version | Git develop |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | slusarz (at) horde (dot) org |
Requester | jan (at) horde (dot) org |
Created | 03/22/2012 (4854 days ago) |
Due | |
Updated | 08/29/2012 (4694 days ago) |
Assigned | 03/23/2012 (4853 days ago) |
Resolved | 03/26/2012 (4850 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
commit 2f0d4b2305fb54c4405a202d1adcf9284c5b4a67
Author: Michael M Slusarz <slusarz@horde.org>
Date: Fri Mar 23 13:34:08 2012 -0600
Bug #11099: Move popup js inclusion into Horde_PageOutputframework/Core/lib/Horde.php | 2 +-
framework/Core/lib/Horde/PageOutput.php | 13 +++++++++++++
framework/Core/lib/Horde/Script/Files.php | 28 ++++++++++++++++++++--------
3 files changed, 34 insertions(+), 9 deletions(-)
http://git.horde.org/horde-git/-/commit/2f0d4b2305fb54c4405a202d1adcf9284c5b4a67
Horde_PageOutput:
array('onload' => 'dom')
'onload' is now a boolean value. And intval('dom') === 0.
State ⇒ Resolved
inlinJsVars too) are printed immediately if onload has been specified.
This happens in Trean for example, if you need a real-life example.
dom:loaded event, and is not attempted to be inserted into the Horde
object until the page is loaded, since there is a chance that the
Horde object won't be loaded until later in the page?
called when output already started, even though it was supposed to.
This has been fixed with some of recent commits, it's properly wrapped
again now.
inlinJsVars too) are printed immediately if onload has been specified.
This happens in Trean for example, if you need a real-life example.
dom:loaded event, and is not attempted to be inserted into the Horde
object until the page is loaded, since there is a chance that the
Horde object won't be loaded until later in the page?
Unfortunately, I don't have trean configured on my server to test.
the Horde.popup_block_text is set before popup.js is loaded.
started, the text string will be wrapped in a 'dom:loaded' event, so
it shouldn't be executed until all scripts are loaded?
inlinJsVars too) are printed immediately if onload has been specified.
This happens in Trean for example, if you need a real-life example.
State ⇒ Feedback
the Horde.popup_block_text is set before popup.js is loaded.
the text string will be wrapped in a 'dom:loaded' event, so it
shouldn't be executed until all scripts are loaded?
commit 2f0d4b2305fb54c4405a202d1adcf9284c5b4a67
Author: Michael M Slusarz <slusarz@horde.org>
Date: Fri Mar 23 13:34:08 2012 -0600
Bug #11099: Move popup js inclusion into Horde_PageOutputframework/Core/lib/Horde.php | 2 +-
framework/Core/lib/Horde/PageOutput.php | 13 +++++++++++++
framework/Core/lib/Horde/Script/Files.php | 28 ++++++++++++++++++++--------
3 files changed, 34 insertions(+), 9 deletions(-)
http://git.horde.org/horde-git/-/commit/2f0d4b2305fb54c4405a202d1adcf9284c5b4a67
Priority ⇒ 2. Medium
State ⇒ Assigned
Patch ⇒ No
Milestone ⇒
Assigned to Michael Slusarz
Queue ⇒ Horde Framework Packages
Summary ⇒ Incorrect order of javascript
Type ⇒ Bug
the Horde.popup_block_text is set before popup.js is loaded.