Approved!

It works in swf7/swf8/dhtml!! The only issue I saw was in FF1.5 (B-level support so we are ok). In FF1.5 if I change the text value and click 'Save' I get a dhtml error:

[Exception... "'Permission denied to set property XULElement.selectedIndex' when calling method: [nsIAutoCompletePopup::selectedIndex]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "JS frame :: http://localhost:8080/trunk/lps/includes/lfc/LFCdhtml.js :: anonymous :: line 4007" data: no]
[]
this.__LzInputDiv.blur()


Change 20070928-maxcarlson-r by [EMAIL PROTECTED] on 2007-09-28 13:30:10 PDT
     in /Users/maxcarlson/openlaszlo/trunk-clean
for <http://svn.openlaszlo.org/openlaszlo/trunk>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>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->http://svn.openlaszlo.org/openlaszlo/patches/20070928-
maxcarlson-r.tar

Reply via email to