summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--program/js/app.js2
-rw-r--r--program/steps/mail/mark.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/program/js/app.js b/program/js/app.js
index bbc455021..30eaef526 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1838,7 +1838,7 @@ function rcube_webmail()
ref.set_unread_count(ref.env.mailbox, ref.env.unread_counts[ref.env.mailbox], ref.env.mailbox == 'INBOX');
}
if (ref.env.preview_pane_mark_read > 0)
- ref.http_post('mark', '_uid='+id+'&_flag=read');
+ ref.http_post('mark', '_uid='+id+'&_flag=read&_quiet=1');
}, this.env.preview_pane_mark_read * 1000);
}
}
diff --git a/program/steps/mail/mark.inc b/program/steps/mail/mark.inc
index 467548161..5411e3f46 100644
--- a/program/steps/mail/mark.inc
+++ b/program/steps/mail/mark.inc
@@ -51,7 +51,7 @@ if (($uids = get_input_value('_uid', RCUBE_INPUT_POST)) && ($flag = get_input_va
$OUTPUT->send();
exit;
}
- else {
+ else if (empty($_POST['_quiet'])) {
$OUTPUT->show_message('messagemarked', 'confirmation');
}