diff options
author | thomascube <thomas@roundcube.net> | 2007-05-18 11:55:41 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2007-05-18 11:55:41 +0000 |
commit | ae895a9d3cbffbcf09d23eab1280173ff748c53e (patch) | |
tree | 98bbd4850655ba8aec3699469991bf8c794dd9e6 | |
parent | 8d07583f3920f27186ccc16ea1ecb49104f1e32d (diff) |
Fixed broken message status management
-rw-r--r-- | program/js/app.js | 6 | ||||
-rw-r--r-- | program/steps/mail/func.inc | 2 |
2 files changed, 4 insertions, 4 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 diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 3fa089037..fc1741700 100644 --- a/program/steps/mail/func.inc +++ b/program/steps/mail/func.inc @@ -505,7 +505,7 @@ function rcmail_message_list($attrib) if ($attrib['attachmenticon']) $OUTPUT->set_env('attachmenticon', $skin_path . $attrib['attachmenticon']); - $OUTPUT->set_env('messages', array2js($a_js_message_arr)); + $OUTPUT->set_env('messages', $a_js_message_arr); $OUTPUT->include_script('list.js'); |