X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f0f111aced146d78b4c31a6175c0150bc6497c50..4a93c5de4b6a35d47afe20ad61724289b3fd02ac:/app/views/site/edit.rhtml diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index 49e4e94f0..ccec7a022 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -64,9 +64,9 @@ zoom='14' if zoom.nil? var winie=false; if (document.all && window.print) { winie=true; } window.onbeforeunload=function() { - if (!changesaved && !winie) { - return "<%= t 'site.edit.potlatch_unsaved_changes' %>"; - } + if (!changesaved) { + return "<%= t 'site.edit.potlatch_unsaved_changes' %>"; + } } function markChanged(a) { changesaved=a; }