#23 removed double null

--HG--
extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%4047
This commit is contained in:
ondrej.zara
2009-07-09 11:53:32 +00:00
parent 3201c05040
commit b38492ed59
9 changed files with 13 additions and 5 deletions
+3 -3
View File
@@ -191,7 +191,7 @@ SQL.Row.prototype.buildContent = function() {
this.dom.nll = OZ.DOM.elm("input");
this.dom.nll.type = "checkbox";
elms.push(["notnull",this.dom.nll]);
elms.push(["null",this.dom.nll]);
this.dom.commentbtn = OZ.DOM.elm("input");
this.dom.commentbtn.type = "button";
@@ -241,7 +241,7 @@ SQL.Row.prototype.collapse = function() {
type: this.dom.type.selectedIndex,
def: this.dom.def.value,
size: this.dom.size.value,
nll: !this.dom.nll.checked,
nll: this.dom.nll.checked,
ai: this.dom.ai.checked
}
@@ -261,7 +261,7 @@ SQL.Row.prototype.load = function() { /* put data to expanded form */
this.dom.def.value = def;
this.dom.size.value = this.data.size;
this.dom.nll.checked = !this.data.nll;
this.dom.nll.checked = this.data.nll;
this.dom.ai.checked = this.data.ai;
}