Actually make the last commit work. I thought Ruby's string interpolation syntax worked differently

This commit is contained in:
Ævar Arnfjörð Bjarmason 2009-09-29 10:12:01 +00:00
parent 0197460689
commit 801182d2ea

View file

@ -65,7 +65,7 @@ zoom='14' if zoom.nil?
window.onbeforeunload=function() { window.onbeforeunload=function() {
if (!changesaved) { if (!changesaved) {
return '#{escape_javascript(t('site.edit.potlatch_unsaved_changes'))}'; return '<%= escape_javascript(t('site.edit.potlatch_unsaved_changes')) %>';
} }
} }