diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-12-15 20:06:59 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-12-15 20:06:59 +0000 |
| commit | e487e20d86137500cfe11a2c6c1e1fbd04ad45fe (patch) | |
| tree | edebf75fccaff1b6a0ecf0798a16e7a19dfb54fb /roundcubemail | |
| parent | 6ed6b551fe0f87d0121901b8432740c7e6b27703 (diff) | |
- fix unflagged icon setting on IE
- small code cleanups
git-svn-id: https://svn.roundcube.net/trunk@2153 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail')
| -rw-r--r-- | roundcubemail/program/js/app.js | 8 | ||||
| -rw-r--r-- | roundcubemail/skins/default/images/icons/blank.gif | bin | 0 -> 54 bytes | |||
| -rw-r--r-- | roundcubemail/skins/default/templates/mail.html | 2 |
3 files changed, 3 insertions, 7 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index c46997afa..7e9509ec2 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -1624,7 +1624,7 @@ function rcube_webmail() if (rows[uid].flagged && this.env.flaggedicon) icn_src = this.env.flaggedicon; - else if (this.env.unflaggedicon) + else if (!rows[uid].flagged && this.env.unflaggedicon) icn_src = this.env.unflaggedicon; if (rows[uid].flagged_icon && icn_src) @@ -3491,10 +3491,6 @@ function rcube_webmail() } else if (col == 'subject' && this.message_list) this.message_list.subject_col = n+1; - else if (col == 'flag' && this.env.unflaggedicon) - { - cell.innerHTML = '<img src="'+this.env.unflaggedicon+'" alt="" />'; - } } }; @@ -3556,7 +3552,7 @@ function rcube_webmail() { if (flags.flagged && this.env.flaggedicon) col.innerHTML = '<img src="'+this.env.flaggedicon+'" alt="" />'; - else if(this.env.unflaggedicon) + else if(!flags.flagged && this.env.unflaggedicon) col.innerHTML = '<img src="'+this.env.unflaggedicon+'" alt="" />'; } else if (c=='attachment') diff --git a/roundcubemail/skins/default/images/icons/blank.gif b/roundcubemail/skins/default/images/icons/blank.gif Binary files differnew file mode 100644 index 000000000..7dd464ea3 --- /dev/null +++ b/roundcubemail/skins/default/images/icons/blank.gif diff --git a/roundcubemail/skins/default/templates/mail.html b/roundcubemail/skins/default/templates/mail.html index eed853a92..2ab24e202 100644 --- a/roundcubemail/skins/default/templates/mail.html +++ b/roundcubemail/skins/default/templates/mail.html @@ -56,7 +56,7 @@ forwardedrepliedIcon="/images/icons/forwarded_replied.png" attachmentIcon="/images/icons/attachment.png" flaggedIcon="/images/icons/flagged.png" - unflaggedIcon="/images/blank.gif" /> + unflaggedIcon="/images/icons/blank.gif" /> </div> <roundcube:if condition="config:preview_pane == true" /> |
