From: Christopher Schmidt Date: Wed, 30 Apr 2008 11:45:28 +0000 (+0000) Subject: link goes into external frame, not in the iframe X-Git-Tag: live~7835^2~1 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/26746224ccab42bb6b2f39edb524803831defc1a link goes into external frame, not in the iframe --- diff --git a/public/export/embed.html b/public/export/embed.html index 41cd75f43..8e4ea2651 100644 --- a/public/export/embed.html +++ b/public/export/embed.html @@ -43,7 +43,8 @@ if(href.indexOf('?') != -1) { href = href.substring( 0, href.indexOf('?') ); } - + + this.element.target="_blank"; href += '?' + OpenLayers.Util.getParameterString(params); this.element.href = href; }