[Laszlo-checkins] r10483 - openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml
bargull@openlaszlo.org
bargull at openlaszlo.org
Fri Jul 25 11:42:47 PDT 2008
Author: bargull
Date: 2008-07-25 11:42:44 -0700 (Fri, 25 Jul 2008)
New Revision: 10483
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzBrowserKernel.lzs
Log:
Change 20080725-bargull-UII by bargull at dell--p4--2-53 on 2008-07-25 15:15:11
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: open new page in tab
New Features:
Bugs Fixed: LPP-6627
Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
LzBrowserKernel#loadURL() opened a new page in a borderless window instead of a tab, because window.open(..) was called with three args.
Tests:
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzBrowserKernel.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzBrowserKernel.lzs 2008-07-25 18:40:50 UTC (rev 10482)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzBrowserKernel.lzs 2008-07-25 18:42:44 UTC (rev 10483)
@@ -23,7 +23,11 @@
*/
static function loadURL ( url, target=null, features=null ){
if (target != null) {
- window.open(url, target, features);
+ if (features != null) {
+ window.open(url, target, features);
+ } else {
+ window.open(url, target);
+ }
} else {
window.location = url;
}
More information about the Laszlo-checkins
mailing list