diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-04-14 20:41:27 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-04-14 20:41:27 +0200 |
commit | 7a5c3a3224bb59740aafceae89d236b19c2d8808 (patch) | |
tree | ce48c18b0d78809c2759bee7c847aa4d12cb75b0 /program/js/list.js | |
parent | a12bbbaf41a200e98e437c2082b9dcc68c5a8f46 (diff) |
Fix regression where title attribute for long message subjects wasn't used on IE
Diffstat (limited to 'program/js/list.js')
-rw-r--r-- | program/js/list.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/program/js/list.js b/program/js/list.js index 9b7779c7b..a39bb5abe 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -301,11 +301,13 @@ insert_row: function(row, before) if (row.style) $.extend(domrow.style, row.style); if (row.uid) $(domrow).data('uid', row.uid); - for (var domcell, col, i=0; row.cols && i < row.cols.length; i++) { + for (var e, domcell, col, i=0; row.cols && i < row.cols.length; i++) { col = row.cols[i]; domcell = document.createElement(this.col_tagname()); if (col.className) domcell.className = col.className; if (col.innerHTML) domcell.innerHTML = col.innerHTML; + for (e in col.events) + domcell['on' + e] = col.events[e]; domrow.appendChild(domcell); } |