diff options
Diffstat (limited to 'program')
-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'); |