Add tooltips to dynamic table header

This commit is contained in:
buinsky 2016-07-16 23:51:24 +03:00 committed by sledgehammer999
parent 4f041c16e1
commit c5ea453438
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -168,6 +168,7 @@ var DynamicTable = new Class({
th = ths[i];
th._this = this;
th.setAttribute('onclick', this.columns[i].onclick);
th.setAttribute('title', this.columns[i].caption);
th.innerHTML = this.columns[i].caption;
th.setAttribute('style', this.columns[i].style);
if ((this.columns[i].visible == '0') || this.columns[i].force_hide)