mirror of
https://github.com/zotero/zotero.git
synced 2026-10-09 03:18:01 +00:00
Use virtual search icon for Unfiled Items
This commit is contained in:
parent
da0bba1358
commit
4577b3d27e
1 changed files with 6 additions and 2 deletions
|
|
@ -503,8 +503,12 @@ Zotero.CollectionTreeView.prototype.getImageSrc = function(row, col)
|
|||
return "chrome://zotero-platform/content/treesource-collection.png";
|
||||
|
||||
case 'search':
|
||||
// TODO: is this platform independent?
|
||||
return "chrome://zotero-platform/content/treesource-search.png";
|
||||
var str = "chrome://zotero-platform/content/treesource-search";
|
||||
if ((source.ref.id + "").match(/^8634533000/)) { // 'UNFILED000'
|
||||
str += '-virtual';
|
||||
}
|
||||
str += ".png";
|
||||
return str;
|
||||
|
||||
case 'header':
|
||||
if (source.ref.id == 'group-libraries-header') {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue