onbeforeunload for chrome

This commit is contained in:
ondras
2012-01-03 13:51:59 +01:00
parent 8d9f95ea0b
commit ef3f946bda
+1 -1
View File
@@ -2640,4 +2640,4 @@ SQL.Designer.prototype.getFKTypeFor = function(typeIndex) {
return this.fkTypeFor[typeIndex];
}
OZ.Event.add(window, "beforeunload", OZ.Event.prevent);
OZ.Event.add(window, "beforeunload", function(e) { OZ.Event.prevent(e); return ""; });