closes issue 122, comment in title
--HG-- extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%40120
This commit is contained in:
@@ -275,6 +275,7 @@ SQL.Row.prototype.redraw = function() {
|
|||||||
if (this.isPrimary()) { OZ.DOM.addClass(this.dom.container,"primary"); }
|
if (this.isPrimary()) { OZ.DOM.addClass(this.dom.container,"primary"); }
|
||||||
if (this.isKey()) { OZ.DOM.addClass(this.dom.container,"key"); }
|
if (this.isKey()) { OZ.DOM.addClass(this.dom.container,"key"); }
|
||||||
this.dom.selected.style.display = (this.selected ? "" : "none");
|
this.dom.selected.style.display = (this.selected ? "" : "none");
|
||||||
|
this.dom.container.title = this.data.comment;
|
||||||
this.owner.redraw();
|
this.owner.redraw();
|
||||||
this.owner.owner.rowManager.redraw();
|
this.owner.owner.rowManager.redraw();
|
||||||
}
|
}
|
||||||
@@ -924,6 +925,7 @@ SQL.Table.prototype.removeKey = function(i) {
|
|||||||
|
|
||||||
SQL.Table.prototype.setComment = function(c) {
|
SQL.Table.prototype.setComment = function(c) {
|
||||||
this.data.comment = c;
|
this.data.comment = c;
|
||||||
|
this.dom.title.title = this.data.comment;
|
||||||
}
|
}
|
||||||
|
|
||||||
SQL.Table.prototype.getComment = function() {
|
SQL.Table.prototype.getComment = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user