summaryrefslogtreecommitdiff
path: root/plugins/archive/archive.js
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-09-15 13:47:12 +0000
committeralecpl <alec@alec.pl>2009-09-15 13:47:12 +0000
commit34aec72131fee81697685f9781358e4871ea0150 (patch)
treedf2c6b6d235cc09456f00f5ad0fa5526ea20a993 /plugins/archive/archive.js
parent2b77e8daa7f7e5c0a71f615672cdb492dcdf0dad (diff)
- Support skins in 'archive' and 'markasjunk' plugins
Diffstat (limited to 'plugins/archive/archive.js')
-rw-r--r--plugins/archive/archive.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/archive/archive.js b/plugins/archive/archive.js
index d771fb66b..954fd1549 100644
--- a/plugins/archive/archive.js
+++ b/plugins/archive/archive.js
@@ -29,8 +29,8 @@ if (window.rcmail) {
// set css style for archive folder
var li;
- if (rcmail.env.archive_folder && (li = rcmail.get_folder_li(rcmail.env.archive_folder)))
- $(li).css('background-image', 'url(plugins/archive/foldericon.png)');
+ if (rcmail.env.archive_folder && rcmail.env.archive_folder_icon && (li = rcmail.get_folder_li(rcmail.env.archive_folder)))
+ $(li).css('background-image', 'url(' + rcmail.env.archive_folder_icon + ')');
})
}