Fix attachment pane loading

This commit is contained in:
Dan Stillman 2015-10-31 01:36:49 -04:00
parent c2ad4ceb0a
commit 37b6a14f17

View file

@ -1325,6 +1325,7 @@ var ZoteroPane = new function()
else if (item.isAttachment()) {
var attachmentBox = document.getElementById('zotero-attachment-box');
attachmentBox.mode = this.collectionsView.editable ? 'edit' : 'view';
yield item.loadItemData();
yield item.loadNote();
attachmentBox.item = item;