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; }