var fo = new SWFObject("/potlatch/potlatch.swf?d="+Math.round(Math.random()*1000), "potlatch", "100%", "100%", "6", "#FFFFFF");
// 700,600 for fixed size, 100%,100% for resizable
var changesaved=true;
- 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; }