diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-22 17:41:22 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-10-22 17:41:22 +0000 |
| commit | 2c0cb1f5c4380232636aa9b796b8fd6d1270f963 (patch) | |
| tree | 33ff8b31f6047c9a71994d6ef75a72b2dbf9cc01 /roundcubemail/program/steps/mail | |
| parent | b1359c83d8eca955de20a8291098e34c5f03405d (diff) | |
- Added option focus_on_new_message (#1485374)
git-svn-id: https://svn.roundcube.net/trunk@2003 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail')
| -rw-r--r-- | roundcubemail/program/steps/mail/check_recent.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/program/steps/mail/check_recent.inc b/roundcubemail/program/steps/mail/check_recent.inc index e84d7ba9e..07313c156 100644 --- a/roundcubemail/program/steps/mail/check_recent.inc +++ b/roundcubemail/program/steps/mail/check_recent.inc @@ -41,6 +41,9 @@ foreach ($a_mailboxes as $mbox_name) $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text()); $OUTPUT->command('set_quota', rcmail_quota_content($IMAP->get_quota())); + if (rcmail::get_instance()->config->get('focus_on_new_message',true)) + $OUTPUT->command('new_message_focus'); + // add new message headers to list $a_headers = array(); for ($i=$recent_count, $id=$count_all-$recent_count+1; $i>0; $i--, $id++) |
