Properly select items created via Attachments.importFromURL()
This commit is contained in:
parent
4190412ee4
commit
612504f441
1 changed files with 4 additions and 0 deletions
|
@ -311,7 +311,11 @@ Zotero.Attachments = new function(){
|
|||
Zotero.Attachments.getPath(
|
||||
file, Zotero.Attachments.LINK_MODE_IMPORTED_URL
|
||||
);
|
||||
var disabled = Zotero.Notifier.disable();
|
||||
attachmentItem.save();
|
||||
if (disabled) {
|
||||
Zotero.Notifier.enable();
|
||||
}
|
||||
|
||||
Zotero.Notifier.trigger('add', 'item', itemID);
|
||||
Zotero.Notifier.trigger('modify', 'item', sourceItemID);
|
||||
|
|
Loading…
Reference in a new issue