|
|
@ -1532,6 +1532,11 @@ function rcube_webmail()
|
|
|
|
rows[id].classname += ' deleted';
|
|
|
|
rows[id].classname += ' deleted';
|
|
|
|
this.set_classname(rows[id].obj, 'deleted', true);
|
|
|
|
this.set_classname(rows[id].obj, 'deleted', true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (this.env.read_when_deleted)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
rows[id].classname = rows[id].classname.replace(/\s*unread/, '');
|
|
|
|
|
|
|
|
this.set_classname(rows[id].obj, 'unread', false);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (rows[id].icon && this.env.deletedicon)
|
|
|
|
if (rows[id].icon && this.env.deletedicon)
|
|
|
|
rows[id].icon.src = this.env.deletedicon;
|
|
|
|
rows[id].icon.src = this.env.deletedicon;
|
|
|
@ -1783,6 +1788,11 @@ function rcube_webmail()
|
|
|
|
rows[uid].classname += ' deleted';
|
|
|
|
rows[uid].classname += ' deleted';
|
|
|
|
this.set_classname(rows[uid].obj, 'deleted', true);
|
|
|
|
this.set_classname(rows[uid].obj, 'deleted', true);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (this.env.read_when_deleted)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
rows[uid].classname = rows[uid].classname.replace(/\s*unread/, '');
|
|
|
|
|
|
|
|
this.set_classname(rows[uid].obj, 'unread', false);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (rows[uid].icon && this.env.deletedicon)
|
|
|
|
if (rows[uid].icon && this.env.deletedicon)
|
|
|
|
rows[uid].icon.src = this.env.deletedicon;
|
|
|
|
rows[uid].icon.src = this.env.deletedicon;
|
|
|
|