Actually make the last commit work. I thought Ruby's string interpolation syntax worked differently
This commit is contained in:
parent
0197460689
commit
801182d2ea
1 changed files with 1 additions and 1 deletions
|
@ -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')) %>';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue