Change maxcarlson-20100922-eyN by maxcarl...@friendly on 2010-09-22 11:42:24 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Prevent spurious onload events

Bugs Fixed: LPP-9272 - HTML SWF: onload event does not fire correctly.

Technical Reviewer: promanik
QA Reviewer: hminsky

Details: Use getFrameWindow() instead of looking them up directly.  Remove 
__namebyid hash, add __srcbyid to track the URLs loaded by setSrc().  
__gotload() checks to see if the src is the initial value and that value wasn't 
explicitly set by setSrc().
    
Tests: examples/extensions/html.lzx shows onload events only when the 'Load' or 
'Clear' buttons are clicked across swf and dhtml, IE and Firefox.  Scroll wroks 
as before, as does examples/extensions/rte.lzx.

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

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/maxcarlson-20100922-eyN.tar

Reply via email to