Author: max
Date: 2006-11-09 15:08:01 -0800 (Thu, 09 Nov 2006)
New Revision: 2464

Modified:
   openlaszlo/branches/legals/lps/includes/embed-dhtml.js
Log:
Change 20061109-maxcarlson-g by [EMAIL PROTECTED] on 2006-11-09 13:29:05 PST
    in /Users/maxcarlson/openlaszlo/legals

Summary: Fix querystring global-setting behavior.

New Features:

Bugs Fixed:

Technical Reviewer: hminsky
QA Reviewer: bmandel
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:


Tests: laszlo-explorer loads bookmark pages again.

Files:
M      lps/includes/embed-dhtml.js

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20061109-maxcarlson-g.tar

Modified: openlaszlo/branches/legals/lps/includes/embed-dhtml.js
===================================================================
--- openlaszlo/branches/legals/lps/includes/embed-dhtml.js      2006-11-09 
23:03:49 UTC (rev 2463)
+++ openlaszlo/branches/legals/lps/includes/embed-dhtml.js      2006-11-09 
23:08:01 UTC (rev 2464)
@@ -24,6 +24,7 @@
         //alert(o);
         return o;
     }
+
     ,dhtmlEmbedLFC: function (properties) {
         var url = properties.url;
 
@@ -40,7 +41,6 @@
         return o;
     }    
 
-
     ,__getqueryurl: function(querystring) {
         // strip query string to only request args required by the compiler 
 
@@ -61,7 +61,10 @@
             }
 
             // set globals for all query args per LPP-2781
-            if (this[i] == null) this[i] = v;
+            if (window[i] == null) {
+                window[i] = v;
+                //alert(i + ' = ' + v);
+            }    
         }
         o = o.substr(0, o.length - 1);
         return o;


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

Reply via email to