From 801182d2ead71631621dbd77dec486f6646f10a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C3=86var=20Arnfj=C3=B6r=C3=B0=20Bjarmason?= Date: Tue, 29 Sep 2009 10:12:01 +0000 Subject: [PATCH] Actually make the last commit work. I thought Ruby's string interpolation syntax worked differently --- app/views/site/edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/site/edit.html.erb b/app/views/site/edit.html.erb index d3258c9cf..b29c0f200 100644 --- a/app/views/site/edit.html.erb +++ b/app/views/site/edit.html.erb @@ -65,7 +65,7 @@ zoom='14' if zoom.nil? window.onbeforeunload=function() { if (!changesaved) { - return '#{escape_javascript(t('site.edit.potlatch_unsaved_changes'))}'; + return '<%= escape_javascript(t('site.edit.potlatch_unsaved_changes')) %>'; } } -- 2.39.5