#92 beforeunload prevention
--HG-- extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%40106
This commit is contained in:
@@ -348,7 +348,7 @@ SQL.Row.prototype.destroy = function() {
|
|||||||
SQL.Row.prototype.toXML = function() {
|
SQL.Row.prototype.toXML = function() {
|
||||||
var xml = "";
|
var xml = "";
|
||||||
|
|
||||||
var t = this.getTitle().replace(/"/g,"""); // ""
|
var t = this.getTitle().replace(/"/g,"""); // "
|
||||||
var nn = (this.data.nll ? "1" : "0");
|
var nn = (this.data.nll ? "1" : "0");
|
||||||
var ai = (this.data.ai ? "1" : "0");
|
var ai = (this.data.ai ? "1" : "0");
|
||||||
xml += '<row name="'+t+'" null="'+nn+'" autoincrement="'+ai+'">\n';
|
xml += '<row name="'+t+'" null="'+nn+'" autoincrement="'+ai+'">\n';
|
||||||
@@ -2528,3 +2528,5 @@ SQL.Designer.prototype.getFKTypeFor = function(typeIndex) {
|
|||||||
}
|
}
|
||||||
return this.fkTypeFor[typeIndex];
|
return this.fkTypeFor[typeIndex];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
OZ.Event.add(window, "beforeunload", OZ.Event.prevent);
|
||||||
|
|||||||
Reference in New Issue
Block a user