#90 multifield sqlite PKs; sqlite FKs; bugfix in css class 'key'

--HG--
extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%40101
This commit is contained in:
ondrej.zara
2010-04-09 06:46:01 +00:00
parent 3fcbbc9fd6
commit 968219a2e9
2 changed files with 28 additions and 13 deletions
+1
View File
@@ -270,6 +270,7 @@ SQL.Row.prototype.redraw = function() {
var color = this.getColor();
this.dom.container.style.backgroundColor = color;
OZ.DOM.removeClass(this.dom.container,"primary");
OZ.DOM.removeClass(this.dom.container,"key");
if (this.isPrimary()) { OZ.DOM.addClass(this.dom.container,"primary"); }
if (this.isKey()) { OZ.DOM.addClass(this.dom.container,"key"); }
this.dom.selected.style.display = (this.selected ? "" : "none");