From 031e03812e6924ee21e0e1af57122fdef3d0772e Mon Sep 17 00:00:00 2001 From: roundcube Date: Tue, 1 Nov 2005 22:18:05 +0000 Subject: Fixed safe_mode issue and visual bug git-svn-id: https://svn.roundcube.net/trunk@72 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/js/app.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'roundcubemail/program/js') diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 8cc385895..a61cc1e73 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -6,7 +6,7 @@ | Copyright (C) 2005, RoundCube Dev, - Switzerland | | Licensed under the GNU GPL | | | - | Modified: 2005/10/26 (roundcube) | + | Modified: 2005/11/01 (roundcube) | | | +-----------------------------------------------------------------------+ | Author: Thomas Bruederli | @@ -1203,16 +1203,15 @@ function rcube_webmail() if (this.message_rows[uid].classname.indexOf('unread')<0 && this.message_rows[uid].unread) { this.message_rows[uid].classname += ' unread'; - if (!this.in_selection(uid)) - this.message_rows[uid].obj.className += ' unread'; + this.set_classname(this.message_rows[uid].obj, 'unread', true); + if (this.env.unreadicon) icn_src = this.env.unreadicon; } else if (!this.message_rows[uid].unread) { this.message_rows[uid].classname = this.message_rows[uid].classname.replace(/\s*unread/, ''); - if (!this.in_selection(uid)) - this.message_rows[uid].obj.className = this.message_rows[uid].obj.className.replace(/\s*unread/, ''); + this.set_classname(this.message_rows[uid].obj, 'unread', false); if (this.message_rows[uid].replied && this.env.repliedicon) icn_src = this.env.repliedicon; -- cgit v1.2.3