#92 beforeunload prevention

--HG--
extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%40106
This commit is contained in:
ondrej.zara
2010-05-13 09:05:47 +00:00
parent 4ea8622c30
commit 1224883b4f
+3 -1
View File
@@ -348,7 +348,7 @@ SQL.Row.prototype.destroy = function() {
SQL.Row.prototype.toXML = function() {
var xml = "";
var t = this.getTitle().replace(/"/g,"""); // ""
var t = this.getTitle().replace(/"/g,"""); // "
var nn = (this.data.nll ? "1" : "0");
var ai = (this.data.ai ? "1" : "0");
xml += '<row name="'+t+'" null="'+nn+'" autoincrement="'+ai+'">\n';
@@ -2528,3 +2528,5 @@ SQL.Designer.prototype.getFKTypeFor = function(typeIndex) {
}
return this.fkTypeFor[typeIndex];
}
OZ.Event.add(window, "beforeunload", OZ.Event.prevent);