[Laszlo-dev] For Review: Change 20071114-maxcarlson-n Summary: Fix history initialization in dhtml

Max Carlson max at openlaszlo.org
Wed Nov 14 15:58:59 PST 2007


Change 20071114-maxcarlson-n by maxcarlson at Roboto on 2007-11-14  
14:20:59 PST
     in /Users/maxcarlson/openlaszlo/trunk
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix history initialization in dhtml

New Features:

Bugs Fixed: LPP-5108 - History broken in DHTML

Technical Reviewer: promanik
QA Reviewer: jcrowley
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Add _onload array to store methods called onload.  Attach  
history.init method if properties.history != false.  Call all methods  
in _onload inside _ready().

r7133 removed a call to Lz.history.init that was attached ot the  
window.onload event handler - which runs too early in some cases.

Tests: http://localhost:8080/trunk/test/history/history.lzx?lzt=html  
and http://localhost:8080/trunk/test/history/history.lzx?lzr=dhtml&lzt=html 
  work, as does the testcase attached to LPP-5108.  Tested in Safari 3  
and Firefox 2 OS X.

Files:
M      lps/includes/source/embednew.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071114-maxcarlson-n.tar


More information about the Laszlo-dev mailing list