Changeset 5b67d35 in github
- Timestamp:
- Apr 13, 2011 6:55:16 AM (2 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- 34d7287
- Parents:
- e5e1eb0
- File:
-
- 1 edited
-
program/js/app.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
program/js/app.js
ra41dcfe r5b67d35 4855 4855 this.set_message_coltypes = function(coltypes, repl) 4856 4856 { 4857 var list = this.message_list, 4858 thead = list ? list.list.tHead : null, 4859 cell, col, n, len, th, tr; 4860 4857 4861 this.env.coltypes = coltypes; 4858 4859 // set correct list titles4860 var thead = this.gui_objects.messagelist ? this.gui_objects.messagelist.tHead : null,4861 cell, col, n, len;4862 4862 4863 4863 // replace old column headers 4864 4864 if (thead) { 4865 4865 if (repl) { 4866 var th = document.createElement('thead'), 4867 tr = document.createElement('tr'); 4866 th = document.createElement('thead'); 4867 tr = document.createElement('tr'); 4868 4868 4869 for (c=0, len=repl.length; c < len; c++) { 4869 4870 cell = document.createElement('td'); … … 4899 4900 if ((n = $.inArray('subject', this.env.coltypes)) >= 0) { 4900 4901 this.set_env('subject_col', n); 4901 if ( this.message_list)4902 this.message_list.subject_col = n;4902 if (list) 4903 list.subject_col = n; 4903 4904 } 4904 4905 if ((n = $.inArray('flag', this.env.coltypes)) >= 0) … … 4907 4908 this.set_env('status_col', n); 4908 4909 4909 this.message_list.init_header(); 4910 if (list) 4911 list.init_header(); 4910 4912 }; 4911 4913
Note: See TracChangeset
for help on using the changeset viewer.
