Fixes #25, add metadata to top of note

This commit is contained in:
David Norton 2006-06-26 19:38:56 +00:00
parent 77eadc3ea0
commit 76c118e9e8

View file

@ -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));
}