Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6755] MobileWeb: Use DOMReady instead of window.onload

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2011-12-20T13:45:31.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sSprint 2011-51, Release 2.0.0, Release 1.8.1
ComponentsMobileWeb
Labelsmerge-1.9.0
ReporterChris Barber
AssigneeChris Barber
Created2011-12-19T10:10:46.000+0000
Updated2017-03-03T23:20:10.000+0000

Description

Mobile web attaches to window.onload when it should use DOMReady. DOMReady fires before window.onload, thus possibly speeding up the application launch. Lastly, by binding to window.onload, it's possible for mobile web's onload handler to get overwritten by plugins.

Comments

  1. Chris Barber 2011-12-19

    Pull request: https://github.com/cb1kenobi/titanium_mobile/pull/13
  2. Bryan Hughes 2011-12-20

    Merged in to cb1kenobi's repo until 1.8->1.9 transition is stable in appcelerator repo.
  3. Lee Morris 2017-03-03

    Closing ticket as MobileWeb is no longer supported.

JSON Source