diff options
Diffstat (limited to 'program/steps/mail')
| -rw-r--r-- | program/steps/mail/func.inc | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 78a977b82..0019d79c4 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -309,7 +309,7 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $a_show_cols=null      array_unshift($a_show_cols, 'subject');    if (!in_array('threads', $a_show_cols))      array_unshift($a_show_cols, 'threads'); - +	    $_SESSION['list_attrib']['columns'] = $a_show_cols;    // Make sure there are no duplicated columns (#1486999) @@ -335,8 +335,8 @@ function rcmail_js_message_list($a_headers, $insert_top=FALSE, $a_show_cols=null    if (empty($a_headers))      return; -  // remove 'threads', 'attachment', 'flag', 'status' columns, we don't need them here -  foreach (array('threads', 'attachment', 'flag', 'status', 'priority') as $col) { +  // remove 'threads', 'attachment', 'flag', 'status', 'focus' columns, we don't need them here +  foreach (array('threads', 'attachment', 'flag', 'status', 'priority', 'focus') as $col) {      if (($key = array_search($col, $a_show_cols)) !== FALSE)        unset($a_show_cols[$key]);    } @@ -464,6 +464,7 @@ function rcmail_message_list_head($attrib, $a_show_cols)        case 'attachment':        case 'priority':        case 'status': +	  case 'focus':          $col_name = '<span class="' . $col .'"> </span>';          break;        case 'threads': | 
