]> git.openstreetmap.org Git - rails.git/blobdiff - public/export/embed.html
link goes into external frame, not in the iframe
[rails.git] / public / export / embed.html
index 41cd75f4364cb4b73301c3b205005eee81b6e2b4..8e4ea2651cc4b809aa76e6f5bc2ef57132a6963e 100644 (file)
@@ -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;
         }