summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-12-25 10:02:48 +0100
committerAleksander Machniak <alec@alec.pl>2014-12-25 10:02:48 +0100
commitacbf70d5bdbfa17920a82f9ed64e425a9069356f (patch)
treedba5459569708b51778ea24a3763bfbaea769b8a /program
parentc608ae1ffe6077bf842a9b3aca772a0df56b874e (diff)
Add _mbox parameter to the 'mark' request sent after opening a message
Diffstat (limited to 'program')
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 7859ecbea..70a4850e1 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -2083,7 +2083,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);
}
}