Changeset 2153 in subversion


Ignore:
Timestamp:
Dec 15, 2008 3:06:59 PM (4 years ago)
Author:
alec
Message:
  • fix unflagged icon setting on IE
  • small code cleanups
Location:
trunk/roundcubemail
Files:
1 added
2 edited

Legend:

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

    r2138 r2153  
    16251625    if (rows[uid].flagged && this.env.flaggedicon) 
    16261626      icn_src = this.env.flaggedicon; 
    1627     else if (this.env.unflaggedicon) 
     1627    else if (!rows[uid].flagged && this.env.unflaggedicon) 
    16281628      icn_src = this.env.unflaggedicon; 
    16291629 
     
    34923492      else if (col == 'subject' && this.message_list) 
    34933493        this.message_list.subject_col = n+1; 
    3494       else if (col == 'flag' && this.env.unflaggedicon) 
    3495         { 
    3496           cell.innerHTML = '<img src="'+this.env.unflaggedicon+'" alt="" />'; 
    3497         } 
    34983494      } 
    34993495  }; 
     
    35573553        if (flags.flagged && this.env.flaggedicon) 
    35583554          col.innerHTML = '<img src="'+this.env.flaggedicon+'" alt="" />'; 
    3559         else if(this.env.unflaggedicon) 
     3555        else if(!flags.flagged && this.env.unflaggedicon) 
    35603556          col.innerHTML = '<img src="'+this.env.unflaggedicon+'" alt="" />'; 
    35613557      } 
  • trunk/roundcubemail/skins/default/templates/mail.html

    r2124 r2153  
    5757  attachmentIcon="/images/icons/attachment.png" 
    5858  flaggedIcon="/images/icons/flagged.png" 
    59   unflaggedIcon="/images/blank.gif" /> 
     59  unflaggedIcon="/images/icons/blank.gif" /> 
    6060</div> 
    6161 
Note: See TracChangeset for help on using the changeset viewer.