diff options
author | Thomas <tb@woodcrest.local> | 2013-10-09 12:04:17 +0200 |
---|---|---|
committer | Thomas <tb@woodcrest.local> | 2013-10-09 12:04:17 +0200 |
commit | f540f86d19ae1d374ba3c78fe11eaf3f771af150 (patch) | |
tree | 6e476ed01ed962a9e8fb638e5c60e9c04aecebfc /program/js/list.js | |
parent | d016dcc6f6a3daf8c19e2ececd3c676cd274381a (diff) |
Prepare message list to display IMAP folder
Diffstat (limited to 'program/js/list.js')
-rw-r--r-- | program/js/list.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/program/js/list.js b/program/js/list.js index 0f8d56c19..32e34e080 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -373,6 +373,20 @@ blur: function() /** + * Set/unset the given column as hidden + */ +hide_column: function(col, hide) +{ + var method = hide ? 'addClass' : 'removeClass'; + + if (this.fixed_header) + $(this.row_tagname()+' '+this.col_tagname()+'.'+col, this.fixed_header)[method]('hidden'); + + $(this.row_tagname()+' '+this.col_tagname()+'.'+col, this.list)[method]('hidden'); +}, + + +/** * onmousedown-handler of message list column */ drag_column: function(e, col) |