Use virtual search icon for Unfiled Items
This commit is contained in:
parent
da0bba1358
commit
4577b3d27e
|
@ -503,8 +503,12 @@ Zotero.CollectionTreeView.prototype.getImageSrc = function(row, col)
|
||||||
return "chrome://zotero-platform/content/treesource-collection.png";
|
return "chrome://zotero-platform/content/treesource-collection.png";
|
||||||
|
|
||||||
case 'search':
|
case 'search':
|
||||||
// TODO: is this platform independent?
|
var str = "chrome://zotero-platform/content/treesource-search";
|
||||||
return "chrome://zotero-platform/content/treesource-search.png";
|
if ((source.ref.id + "").match(/^8634533000/)) { // 'UNFILED000'
|
||||||
|
str += '-virtual';
|
||||||
|
}
|
||||||
|
str += ".png";
|
||||||
|
return str;
|
||||||
|
|
||||||
case 'header':
|
case 'header':
|
||||||
if (source.ref.id == 'group-libraries-header') {
|
if (source.ref.id == 'group-libraries-header') {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user