Add _mbox parameter to the 'mark' request sent after opening a message

pull/244/head
Aleksander Machniak 10 years ago
parent d9897520e7
commit 6ca090b341

@ -2261,7 +2261,7 @@ function rcube_webmail()
if (preview && this.message_list && this.message_list.rows[id] && this.message_list.rows[id].unread && this.env.preview_pane_mark_read > 0) {
this.preview_read_timer = setTimeout(function() {
ref.set_unread_message(id, ref.env.mailbox);
ref.http_post('mark', {_uid: id, _flag: 'read', _quiet: 1});
ref.http_post('mark', {_uid: id, _flag: 'read', _mbox: ref.env.mailbox, _quiet: 1});
}, this.env.preview_pane_mark_read * 1000);
}
}

Loading…
Cancel
Save