summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2007-05-18 11:55:41 +0000
committerthomascube <thomas@roundcube.net>2007-05-18 11:55:41 +0000
commitae895a9d3cbffbcf09d23eab1280173ff748c53e (patch)
tree98bbd4850655ba8aec3699469991bf8c794dd9e6 /program/js
parent8d07583f3920f27186ccc16ea1ecb49104f1e32d (diff)
Fixed broken message status management
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 4e1c283ca..3ee54f684 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -343,9 +343,9 @@ function rcube_webmail()
var uid = row.uid;
if (uid && this.env.messages[uid])
{
- row.deleted = this.env.messages[uid].deleted;
- row.unread = this.env.messages[uid].unread;
- row.replied = this.env.messages[uid].replied;
+ row.deleted = this.env.messages[uid].deleted ? true : false;
+ row.unread = this.env.messages[uid].unread ? true : false;
+ row.replied = this.env.messages[uid].replied ? true : false;
}
// set eventhandler to message icon