Actually make the last commit work. I thought Ruby's string interpolation syntax...
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 29 Sep 2009 10:12:01 +0000 (10:12 +0000)
committerÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Tue, 29 Sep 2009 10:12:01 +0000 (10:12 +0000)
app/views/site/edit.html.erb

index d3258c9cfa902c61f3c853d4c864e2ddd35bb70e..b29c0f200e84032f4b0464f98a29a1a436f00c9f 100644 (file)
@@ -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')) %>';
     }
   }