From 2e8a6118dec08e7f0e97257d3243fee6f3b87182 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sun, 13 May 2007 13:11:27 -0400
Subject: [PATCH] Fixed marking as read in preview pane (closes #1484364)

---
 CHANGELOG         |    1 +
 program/js/app.js |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG
index 0be8194..69005c2 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -4,6 +4,7 @@
 2007/05/13 (thomasb)
 ----------
 - Updated Norwegian (bokmal), Czech, Danish and Portuguese (standard) translation
+- Fixed marking as read in preview pane (closes #1484364)
 
 
 2007/05/03 (yllar)
diff --git a/program/js/app.js b/program/js/app.js
index 5edef2c..125e44f 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -170,7 +170,7 @@
           {
           this.enable_command('compose', 'add-contact', false);
           parent.rcmail.show_contentframe(true);
-          parent.rcmail.mark_message('read', this.uid);
+          parent.rcmail.mark_message('read', this.env.uid);
           }
 
         if ((this.env.action=='show' || this.env.action=='preview') && this.env.blockedobjects)

--
Gitblit v1.9.1