Author: max
Date: 2007-10-09 16:48:54 -0700 (Tue, 09 Oct 2007)
New Revision: 6774

Modified:
   openlaszlo/branches/wafflecone/lps/includes/source/lzhistory.js
Log:
Change 20071009-maxcarlson-U by [EMAIL PROTECTED] on 2007-10-09 15:43:57 PDT
    in /Users/maxcarlson/openlaszlo/wafflecone
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Fix dojo.flash.comm errors on osx firefox

New Features:

Bugs Fixed: LPP-4857 - dojo.flash.comm errors on firefox os x

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

Documentation:

Release Notes:

Details: Make sure dojo.flash.comm exists before calling 
dojo.flash.comm.receiveHistory().
    

Tests: See LPP-4857.  Also tested 
http://localhost:8080/wafflecone/test/history/history.lzx and 
http://localhost:8080/wafflecone/test/history/history.lzx?lzr=dhtml.



Modified: openlaszlo/branches/wafflecone/lps/includes/source/lzhistory.js
===================================================================
--- openlaszlo/branches/wafflecone/lps/includes/source/lzhistory.js     
2007-10-09 23:14:55 UTC (rev 6773)
+++ openlaszlo/branches/wafflecone/lps/includes/source/lzhistory.js     
2007-10-09 23:48:54 UTC (rev 6774)
@@ -53,7 +53,7 @@
 
     ,/** @access private */
     _historyEvent: function (value) {
-        if (Lz.loaded) {
+        if (Lz.loaded && dojo.flash.comm) {
             //alert(value);
             dojo.flash.comm.receiveHistory(value + '');
             return true;


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to