]> git.openstreetmap.org Git - rails.git/commitdiff
link goes into external frame, not in the iframe
authorChristopher Schmidt <crschmidt@crschmidt.net>
Wed, 30 Apr 2008 11:45:28 +0000 (11:45 +0000)
committerChristopher Schmidt <crschmidt@crschmidt.net>
Wed, 30 Apr 2008 11:45:28 +0000 (11:45 +0000)
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;
         }