[Laszlo-dev] For Review: Change 20070928-maxcarlson-r Summary: One more time: Hand marge r6661 from wafflecone to trunk

Max Carlson max at openlaszlo.org
Fri Sep 28 13:31:12 PDT 2007


Change 20070928-maxcarlson-r by maxcarlson at plastik on 2007-09-28  
13:30:10 PDT
     in /Users/maxcarlson/openlaszlo/trunk-clean
     for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: One more time: Hand marge r6661 from wafflecone to trunk

New Features:

Bugs Fixed:

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

Documentation:

Release Notes:

Details: LzHistory.as - Use correct syntax for LzBrowser.callJS().   
Clear out old __lzloading code.  Initialize persistence and add  
explicit callback to Lz.history in receiveHistory().

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 - Clean up extra window.onload event, comments.  Set  
Lz.loaded to true when load is finished.  Use anonymous function in  
_callMethodSWF() to prevent overwrites.

lzhistory.js - Store and reset the document title in IE to keep the  
window title from changing.  Make init code more specific to each  
browser.  Use Lz.callMethod() to set the history state instead of  
calling dojo.flash.comm.  Don't set top.location.hash to '#0' in IE -  
use '#' instead.  Add __receivedhistory() callback to receive history  
from Flash.

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.

Files:
M      WEB-INF/lps/lfc/services/platform/swf/LzHistory.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/20070928- 
maxcarlson-r.tar


More information about the Laszlo-dev mailing list