From 1e1d7f919dc3edf5c8a4a70a949f05649380bcc0 Mon Sep 17 00:00:00 2001 From: "ondrej.zara" Date: Thu, 31 Mar 2011 13:28:20 +0000 Subject: [PATCH] closes issue 122, comment in title --HG-- extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%40120 --- js/wwwsqldesigner.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/wwwsqldesigner.js b/js/wwwsqldesigner.js index adefd5e..ce0a497 100644 --- a/js/wwwsqldesigner.js +++ b/js/wwwsqldesigner.js @@ -275,6 +275,7 @@ SQL.Row.prototype.redraw = function() { 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"); + this.dom.container.title = this.data.comment; this.owner.redraw(); this.owner.owner.rowManager.redraw(); } @@ -924,6 +925,7 @@ SQL.Table.prototype.removeKey = function(i) { SQL.Table.prototype.setComment = function(c) { this.data.comment = c; + this.dom.title.title = this.data.comment; } SQL.Table.prototype.getComment = function() {