projects
/
rails.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d900f1
)
Escape remote control failed message
author
Tom Hughes
<tom@compton.nu>
Sun, 16 Jan 2011 17:12:47 +0000
(17:12 +0000)
committer
Tom Hughes
<tom@compton.nu>
Sun, 16 Jan 2011 17:12:47 +0000
(17:12 +0000)
app/views/site/index.html.erb
patch
|
blob
|
history
diff --git
a/app/views/site/index.html.erb
b/app/views/site/index.html.erb
index eac166c91e57db16c2638712b3d4bbc33bc3efc2..0a0b7c1da5e873a9e2a9a450dee08e963773d77a 100644
(file)
--- a/
app/views/site/index.html.erb
+++ b/
app/views/site/index.html.erb
@@
-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();