]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Use "Deleted at/by" instead of "Edited at/by" for deletes
[rails.git] / app / views / site / index.html.erb
index eac166c91e57db16c2638712b3d4bbc33bc3efc2..0a0b7c1da5e873a9e2a9a450dee08e963773d77a 100644 (file)
@@ -277,7 +277,7 @@ end
     $("linkloader").src = "http://127.0.0.1:8111/load_and_zoom?left=" + extent.left + "&top=" + extent.top + "&right=" + extent.right + "&bottom=" + extent.bottom;
 
     setTimeout(function () {
-      if (!loaded) alert("<%= t('site.index.remote_failed') %>");
+      if (!loaded) alert("<%= escape_javascript(t('site.index.remote_failed')) %>");
     }, 1000);
 
     event.stop();