[Laszlo-dev] For Review: Change 20070926-maxcarlson-k Summary: Fix history in swf7/8

Max Carlson max at openlaszlo.org
Wed Sep 26 18:19:38 PDT 2007


Change 20070926-maxcarlson-k by maxcarlson at plastik on 2007-09-26  
17:58:06 PDT
     in /Users/maxcarlson/openlaszlo/wafflecone
     for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Fix history in swf7/8

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().

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

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/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/20070926- 
maxcarlson-k.tar


More information about the Laszlo-dev mailing list