Changeset 1294 in subversion


Ignore:
Timestamp:
Apr 13, 2008 3:47:30 AM (5 years ago)
Author:
alec
Message:
  • don't change icon of deleted message when marking as read
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/js/app.js

    r1292 r1294  
    15611561          this.set_classname(rows[uid].obj, 'unread', false); 
    15621562 
    1563           if (rows[uid].replied && this.env.repliedicon) 
    1564             icn_src = this.env.repliedicon; 
    1565           else if (this.env.messageicon) 
     1563          if (this.env.messageicon) 
    15661564            icn_src = this.env.messageicon; 
    15671565          } 
    15681566 
    1569         if (rows[uid].icon && icn_src) 
     1567        if (rows[uid].icon && icn_src  
     1568            && !(rows[uid].replied && this.env.repliedicon) 
     1569            && !(rows[uid].deleted && this.env.deletedicon)) 
    15701570          rows[uid].icon.src = icn_src; 
    15711571        } 
     
    15881588        if (rows[uid].replied && parent.rcmail.env.repliedicon) 
    15891589          icn_src = parent.rcmail.env.repliedicon; 
     1590        else if (rows[uid].deleted && parent.rcmail.env.deletedicon) 
     1591          icn_src = parent.rcmail.env.deletedicon; 
    15901592        else if (parent.rcmail.env.messageicon) 
    15911593          icn_src = parent.rcmail.env.messageicon; 
Note: See TracChangeset for help on using the changeset viewer.