summaryrefslogtreecommitdiffstats
path: root/js/wwwsqldesigner.js
diff options
context:
space:
mode:
authorondrej.zara <none@none>2009-07-09 11:53:32 +0000
committerondrej.zara <none@none>2009-07-09 11:53:32 +0000
commitb38492ed59fbb88fcaad59eb985e378cd369e0ed (patch)
tree1f39bb2500e066831db49b57a6e031ec3f95068c /js/wwwsqldesigner.js
parent3201c05040407bb311959eeb328044c2ea5efb98 (diff)
downloadwwwsqldesigner-b38492ed59fbb88fcaad59eb985e378cd369e0ed.zip
wwwsqldesigner-b38492ed59fbb88fcaad59eb985e378cd369e0ed.tar.gz
wwwsqldesigner-b38492ed59fbb88fcaad59eb985e378cd369e0ed.tar.bz2
#23 removed double null
--HG-- extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%4047
Diffstat (limited to 'js/wwwsqldesigner.js')
-rw-r--r--js/wwwsqldesigner.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/wwwsqldesigner.js b/js/wwwsqldesigner.js
index a7b075b..06b9c00 100644
--- a/js/wwwsqldesigner.js
+++ b/js/wwwsqldesigner.js
@@ -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;
}