opengeo/mapstory — Issue #117: new map does not work in Safari
Author: bartvde
Created: 2011-12-28 12:26:39+00:00
State: open

undefined is not a function near

// global beforeunload handler
window.onbeforeunload = (function() {
if (this.fireEvent("beforeunload") === false) {
return "If you leave this page, unsaved changes will be lost.";
}
}).bind(this);