summaryrefslogtreecommitdiff
path: root/program/js
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:03:51 +0100
commit6ca090b341d0ea9f263b133a9c7f76a01a61844f (patch)
treeb4862a54acb76d9f829e16ea212ea9e0b4a1a786 /program/js
parentd9897520e70ee7b304e355f474ffd767298c74d1 (diff)
Add _mbox parameter to the 'mark' request sent after opening a message
Diffstat (limited to 'program/js')
-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 1b3836804..29a53bb26 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -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);
}
}