summaryrefslogtreecommitdiff
path: root/plugins/archive/archive.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-24 07:53:00 +0000
committeralecpl <alec@alec.pl>2011-11-24 07:53:00 +0000
commit3ad2b1b4b0ac0fc7a6c7a5adaad9a0616b890daf (patch)
treeb4f9d8054a99ad4e20f22a0f7068036673187657 /plugins/archive/archive.js
parentc994e0e7cd9f593eb21ff80c7c1ddbeaf2a1b12a (diff)
- Applied fixes from trunk up to r5479
Diffstat (limited to 'plugins/archive/archive.js')
-rw-r--r--plugins/archive/archive.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/archive/archive.js b/plugins/archive/archive.js
index a83750819..5c576e100 100644
--- a/plugins/archive/archive.js
+++ b/plugins/archive/archive.js
@@ -27,7 +27,9 @@ if (window.rcmail) {
// set css style for archive folder
var li;
- if (rcmail.env.archive_folder && rcmail.env.archive_folder_icon && (li = rcmail.get_folder_li(rcmail.env.archive_folder)))
+ if (rcmail.env.archive_folder && rcmail.env.archive_folder_icon
+ && (li = rcmail.get_folder_li(rcmail.env.archive_folder, '', true))
+ )
$(li).css('background-image', 'url(' + rcmail.env.archive_folder_icon + ')');
})
}