summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-10-18 12:53:59 +0000
committeralecpl <alec@alec.pl>2011-10-18 12:53:59 +0000
commit57863c1a4dba6188d8d9db3057df3787aed681f5 (patch)
treeb845da9960e135df11eb782a3774ef430fd6fe2a /program/js
parentdfc79b341c4ae80fe3bae0c52cadee7c28a108fd (diff)
- Removed zebra-class
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 86575b040..9a1853fdb 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1686,7 +1686,6 @@ function rcube_webmail()
even = rowcount%2,
message = this.env.messages[uid],
css_class = 'message'
- + (even ? ' even' : ' odd')
+ (!flags.seen ? ' unread' : '')
+ (flags.deleted ? ' deleted' : '')
+ (flags.flagged ? ' flagged' : '')
@@ -4119,19 +4118,17 @@ function rcube_webmail()
if (!this.gui_objects.contactslist || !this.gui_objects.contactslist.tBodies[0])
return false;
- var tbody = this.gui_objects.contactslist.tBodies[0],
- rowcount = tbody.rows.length,
- even = rowcount%2,
+ var c, tbody = this.gui_objects.contactslist.tBodies[0],
row = document.createElement('tr');
row.id = 'rcmrow'+String(cid).replace(this.identifier_expr, '_');
- row.className = 'contact '+(even ? 'even' : 'odd');
+ row.className = 'contact';
if (this.contact_list.in_selection(cid))
row.className += ' selected';
// add each submitted col
- for (var c in cols) {
+ for (c in cols) {
col = document.createElement('td');
col.className = String(c).toLowerCase();
col.innerHTML = cols[c];