[Laszlo-dev] For Review: Change 20070927-maxcarlson-6 Summary: UPDATED: Fix history in swf7/8 and dhtml

Max Carlson max at openlaszlo.org
Thu Sep 27 19:23:39 PDT 2007


Change 20070927-maxcarlson-6 by maxcarlson at plastik on 2007-09-27  
18:44:35 PDT
     in /Users/maxcarlson/openlaszlo/wafflecone
     for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: UPDATED: Fix history in swf7/8 and dhtml

New Features:

Bugs Fixed: LPP-4746 - Javascript errors when using the history  
mechanism in swf7, LPP-4731 - reloading browser page causes history  
to trigger "back" action

Technical Reviewer: promanik
QA Reviewer: lhenrywilkins at laszlosystems.com
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: LzSprite.js - Do callback to _ready when canvas initializes.

LzHistory.as - Use correct syntax for LzBrowser.callJS().  Clear out  
old __lzloading code.

LzBrowser.as - Reset __jscallback to null when there is no callback.

LzHistory.js - Clear out old __lzloading code.

LaszloCanvas.lzs - Rely on browser history event callbacks to  
initialize history state instead of explicit call at canvas init time.

embednew.js - Hand merge changes related to onloaded from trunk.

lzhistory.js - Store and reset the document title in IE to keep the  
window title from changing.

flash.js - Ensure callback methods are executed in the proper scope  
for flash < 8.


Tests: http://localhost:8080/trunk/test/history/history.lzx in dhtml,  
swf7 and 8 in Firefox mac, IE 6/7 and Safari 2.  Also tested webtop  
and verified that both bugs are fixed in future/lzmail/main.lzx - I  
used r11 of uicontroller.lzx to bring back the history functionality.

Files:
M      WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js
M      WEB-INF/lps/lfc/services/platform/swf/LzHistory.as
M      WEB-INF/lps/lfc/services/platform/swf/LzBrowser.as
M      WEB-INF/lps/lfc/services/platform/dhtml/LzHistory.js
M      WEB-INF/lps/lfc/views/LaszloCanvas.lzs
M      lps/includes/source/embednew.js
M      lps/includes/source/lzhistory.js
M      lps/includes/source/flash.js

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070927- 
maxcarlson-6.tar


More information about the Laszlo-dev mailing list