Fixes #25, add metadata to top of note
This commit is contained in:
parent
77eadc3ea0
commit
76c118e9e8
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ function onLoad()
|
|||
item = Scholar.Items.get(params['item']);
|
||||
noteID = params['note'];
|
||||
|
||||
document.getElementById('info-label').setAttribute('value',item.getField('title'));
|
||||
document.getElementById('info-label').appendChild(document.createTextNode(item.getField('title') + " by " + item.getField('firstCreator')));
|
||||
if(noteID)
|
||||
_notesField.setAttribute('value',item.getNote(noteID));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue