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
This commit is contained in:
Tim Schaub
2011-02-23 15:54:26 +00:00
parent 5c400dac4f
commit 0961132ab6

View File

@@ -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 );
}