Fixes #510, Notes marked as abstracts do not appear with blue icon in Notes tab
This commit is contained in:
parent
6671af4918
commit
49be275ad3
|
@ -312,7 +312,11 @@ var ZoteroItemPane = new function()
|
||||||
for(var i = 0; i < notes.length; i++)
|
for(var i = 0; i < notes.length; i++)
|
||||||
{
|
{
|
||||||
var icon = document.createElement('image');
|
var icon = document.createElement('image');
|
||||||
icon.setAttribute('src','chrome://zotero/skin/treeitem-note.png');
|
var iconType = 'treeitem-note';
|
||||||
|
if (notes[i].isAbstract()) {
|
||||||
|
iconType += '-abstract';
|
||||||
|
}
|
||||||
|
icon.setAttribute('src','chrome://zotero/skin/' + iconType + '.png');
|
||||||
|
|
||||||
var label = document.createElement('label');
|
var label = document.createElement('label');
|
||||||
label.setAttribute('value',_noteToTitle(notes[i].getNote()));
|
label.setAttribute('value',_noteToTitle(notes[i].getNote()));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user