[OpenLayers-Commits] r11341 - trunk/openlayers/tests

commits-20090109 at openlayers.org commits-20090109 at openlayers.org
Wed Feb 23 10:54:26 EST 2011


Author: tschaub
Date: 2011-02-23 07:54:26 -0800 (Wed, 23 Feb 2011)
New Revision: 11341

Modified:
   trunk/openlayers/tests/run-tests.html
Log:
Opening popup windows with the same query string from the parent.  This allows mode=build for tests in popups.

Modified: trunk/openlayers/tests/run-tests.html
===================================================================
--- trunk/openlayers/tests/run-tests.html	2011-02-23 15:54:19 UTC (rev 11340)
+++ trunk/openlayers/tests/run-tests.html	2011-02-23 15:54:26 UTC (rev 11341)
@@ -686,7 +686,7 @@
 		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 );
 }



More information about the Commits mailing list