From 0961132ab6c5eab5c7d0853470e9be136c78912c Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Wed, 23 Feb 2011 15:54:26 +0000 Subject: [PATCH] Opening popup windows with the same query string from the parent. This allows mode=build for tests in popups. git-svn-id: http://svn.openlayers.org/trunk/openlayers@11341 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/run-tests.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run-tests.html b/tests/run-tests.html index b4de57e989..d2bff43430 100644 --- a/tests/run-tests.html +++ b/tests/run-tests.html @@ -686,7 +686,7 @@ Test.AnotherWay._test_object_t.prototype.open_window=function( url, fn, timeout_ timeout_seconds=4; } var no_close=document.getElementById( "dont_close_test_windows" ); - var action={ action_kind: "window", wnd_url: url.toString(), wnd_wnd: null, wnd_fn: fn, wnd_timeout_milliseconds: timeout_seconds*1000, wnd_no_close: no_close.checked }; + var action={ action_kind: "window", wnd_url: url.toString() + (window.location.search || ""), wnd_wnd: null, wnd_fn: fn, wnd_timeout_milliseconds: timeout_seconds*1000, wnd_no_close: no_close.checked }; this.delay_total_milliseconds_left+=Test.AnotherWay._action_estimate_milliseconds( action ); this.delay_actions.push( action ); }