[Laszlo-checkins] r10062 - openlaszlo/trunk/docs/component-browser

jcrowley@openlaszlo.org jcrowley at openlaszlo.org
Fri Jun 27 10:03:41 PDT 2008


Author: jcrowley
Date: 2008-06-27 10:03:25 -0700 (Fri, 27 Jun 2008)
New Revision: 10062

Modified:
   openlaszlo/trunk/docs/component-browser/common.lzx
Log:
Change 20080625-laszlo-2 by laszlo at T43-L3XEXMW on 2008-06-25 13:52:02 EDT
    in /home/laszlo/src/svn/openlaszlo/trunk-liquid
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: swf8: Related Components: Selecting a class opens a blank tab

New Features:

Bugs Fixed: LPP-6521 - swf8: Related Components: Selecting a class opens a blank tab

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

Documentation:

Release Notes:

Details: I'd fixed this in the initial view, but I didn't realize
    the other view (Related Components) used a different class to
    open links to the guide.

Tests: Run laszlo-explorer, click Components => Class Hierarchy,
    Click the button at the bottom "Related Components".  Click
    on any of the various classes.  These should now open a pop-
    up to the guide instead of a blank tab.



Modified: openlaszlo/trunk/docs/component-browser/common.lzx
===================================================================
--- openlaszlo/trunk/docs/component-browser/common.lzx	2008-06-27 16:40:57 UTC (rev 10061)
+++ openlaszlo/trunk/docs/component-browser/common.lzx	2008-06-27 17:03:25 UTC (rev 10062)
@@ -69,7 +69,11 @@
         <handler name="onclick">
             var file = (this.file != '' ? this.file : 'lz.' + this.text + '.html');
             var url = canvas.urlprefix + file;
-            LzBrowser.loadURL('javascript: var wptr = window.open("' + url + '","laszlo_reference","resizable=1,width=1000,height=700,left=0,top=0,screenX=0,screenY=0,menubar,location,status,scrollbars,toolbar,address"); wptr.focus(); void(0);');
+            if ($runtime == 'dhtml') {
+                LzBrowser.loadURL( url, "laszlo_reference","resizable=1,width=1000,height=700,left=0,top=0,screenX=0,screenY=0,menubar,location,status,scrollbars,toolbar,address");
+            } else {
+                LzBrowser.loadJS('window.open("' + url + '","laszlo_reference","resizable=1,width=1000,height=700,left=0,top=0,screenX=0,screenY=0,menubar,location,status,scrollbars,toolbar,address");');
+            }
         </handler>
         <handler name="onmouseup">
             setAttribute('fgcolor', this.texthilitecolor)



More information about the Laszlo-checkins mailing list