Changeset 1917 in subversion
- Timestamp:
- Oct 2, 2008 1:26:16 PM (5 years ago)
- Location:
- trunk/roundcubemail/program
- Files:
-
- 2 edited
-
js/app.js (modified) (3 diffs)
-
steps/mail/getunread.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/js/app.js
r1908 r1917 2113 2113 if (this.env.signatures[id]) 2114 2114 { 2115 newsig = this.env.signatures[id]['text'];2115 newsig = String(this.env.signatures[id]['text']).replace("\n", "\r\n"); 2116 2116 htmlsig = this.env.signatures[id]['is_html']; 2117 2117 } … … 3829 3829 case 'list': 3830 3830 if (this.task == 'mail') { 3831 if (this.message_list )3831 if (this.message_list && request_obj.__action == 'list') 3832 3832 this.msglist_select(this.message_list); 3833 3833 this.enable_command('show', 'expunge', 'select-all', 'select-none', 'sort', (this.env.messagecount > 0)); … … 3836 3836 else if (this.task == 'addressbook') 3837 3837 this.enable_command('export', (this.contact_list && this.contact_list.rowcount > 0)); 3838 3838 3839 break; 3839 3840 } -
trunk/roundcubemail/program/steps/mail/getunread.inc
r1019 r1917 24 24 if (!empty($a_folders)) 25 25 { 26 $inbox = ($IMAP->get_mailbox_name() == 'INBOX'); 26 27 foreach ($a_folders as $mbox_row) 27 $OUTPUT->command('set_unread_count', $mbox_row, $IMAP->messagecount($mbox_row, 'UNSEEN'), ($IMAP->get_mailbox_name() == 'INBOX' && $mbox_row == 'INBOX'));28 $OUTPUT->command('set_unread_count', $mbox_row, $IMAP->messagecount($mbox_row, 'UNSEEN'), $inbox && $mbox_row == 'INBOX'); 28 29 } 29 30
Note: See TracChangeset
for help on using the changeset viewer.
