Bind horizon init js after DOM Ready

Registered by Tim Schnell

This would change line 48 of _scripts.html from $(document).ready(horizon.init); to $(document).bind("ready", horizon.init); which would allow all JS executing on ready to execute before Horizon initializes. This was encountered as an issue when trying to execute additional javascript on a Workflow tab. The javascript is trying to build out a canvas that requires that the canvas not be hidden on the page during execution, however the Workflow js was executing first and hiding the div.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Tim Schnell
Direction:
Needs approval
Assignee:
Tim Schnell
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Tim Schnell

Related branches

Sprints

Whiteboard

Thinking about this more, perhaps this is something that should be handled specifically with Workflow instead of implementing system-wide.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.