diff options
author | ondrej.zara <none@none> | 2011-03-31 13:28:20 +0000 |
---|---|---|
committer | ondrej.zara <none@none> | 2011-03-31 13:28:20 +0000 |
commit | 1e1d7f919dc3edf5c8a4a70a949f05649380bcc0 (patch) | |
tree | 69ca265640ef2d05c131588a5012bfc400b469be /js/wwwsqldesigner.js | |
parent | e34e654e17115e17c18dd9e31965f5fe418c80fd (diff) | |
download | wwwsqldesigner-1e1d7f919dc3edf5c8a4a70a949f05649380bcc0.zip wwwsqldesigner-1e1d7f919dc3edf5c8a4a70a949f05649380bcc0.tar.gz wwwsqldesigner-1e1d7f919dc3edf5c8a4a70a949f05649380bcc0.tar.bz2 |
closes issue 122, comment in title
--HG--
extra : convert_revision : svn%3Ab267cdba-c1da-11dd-874b-8bacd04a0a74/trunk%40120
Diffstat (limited to 'js/wwwsqldesigner.js')
-rw-r--r-- | js/wwwsqldesigner.js | 2 |
1 files changed, 2 insertions, 0 deletions
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() { |