summaryrefslogtreecommitdiff
path: root/program/js/list.js
diff options
context:
space:
mode:
authorThomas <tb@woodcrest.local>2013-10-09 12:04:17 +0200
committerThomas Bruederli <thomas@roundcube.net>2014-01-16 11:21:59 +0100
commit628706acdcb973154161b5862c30ce706a08455a (patch)
treedba7b1aa74bae7ff562da785d6ede479a0c1218e /program/js/list.js
parent017c4f19fd91aa1f658131fae272617a14598a12 (diff)
Prepare message list to display IMAP folder
Diffstat (limited to 'program/js/list.js')
-rw-r--r--program/js/list.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/program/js/list.js b/program/js/list.js
index 022ed3180..319807eae 100644
--- a/program/js/list.js
+++ b/program/js/list.js
@@ -382,6 +382,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)