[Laszlo-checkins] r13616 - openlaszlo/trunk/lps/includes/source

max@openlaszlo.org max at openlaszlo.org
Mon Apr 6 07:23:01 PDT 2009


Author: max
Date: 2009-04-06 07:23:00 -0700 (Mon, 06 Apr 2009)
New Revision: 13616

Modified:
   openlaszlo/trunk/lps/includes/source/embednew.js
Log:
Change 20090402-maxcarlson-D by maxcarlson at Bank on 2009-04-02 13:40:14 PDT
    in /Users/maxcarlson/openlaszlo/trunk-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Fix callMethod broadcasting for apps that haven't finished loading

Bugs Fixed: LPP-7919 - calling an external javascript from lzx file onint doesn't work

Technical Reviewer: hminsky
QA Reviewer: ptw

Details: Now that callMethod() has its own queue, there's no reason to ignore calls for apps that aren't done loading.

Tests: See LPP-7919.



Modified: openlaszlo/trunk/lps/includes/source/embednew.js
===================================================================
--- openlaszlo/trunk/lps/includes/source/embednew.js	2009-04-06 11:53:57 UTC (rev 13615)
+++ openlaszlo/trunk/lps/includes/source/embednew.js	2009-04-06 14:23:00 UTC (rev 13616)
@@ -626,7 +626,6 @@
         var args = [].slice.call(arguments, 1);
         for (var i in lz.embed.applications) {
             var app = lz.embed.applications[i];
-            if (! app.loaded) continue;
             if (app[methodname]) {
                 //console.log(methodname, app, arguments);
                 app[methodname].apply(app, args);



More information about the Laszlo-checkins mailing list