diff --git a/db/postgresql/datatypes.xml b/db/postgresql/datatypes.xml index 138fce7..b0597a9 100644 --- a/db/postgresql/datatypes.xml +++ b/db/postgresql/datatypes.xml @@ -5,8 +5,8 @@ - - + + diff --git a/js/wwwsqldesigner.js b/js/wwwsqldesigner.js index 1ec115f..6740a89 100644 --- a/js/wwwsqldesigner.js +++ b/js/wwwsqldesigner.js @@ -134,6 +134,7 @@ SQL.Row.prototype.mousedown = function(e) { } SQL.Row.prototype.update = function(data) { /* update subset of row data */ + var des = SQL.Designer; if (data.nll && data.def && data.def.match(/^null$/i)) { data.def = null; } for (var p in data) { this.data[p] = data[p]; } @@ -142,7 +143,7 @@ SQL.Row.prototype.update = function(data) { /* update subset of row data */ var elm = this.getDataType(); for (var i=0;i