Fix saving to My Library if Zotero pane hasn't been opened
This commit is contained in:
parent
9c53fe893c
commit
23e01fcefd
5 changed files with 84 additions and 36 deletions
|
@ -171,7 +171,7 @@ describe("Zotero.Attachments", function() {
|
|||
assert.equal(attachment.getField('url'), "file://" + uri);
|
||||
|
||||
// Check indexing
|
||||
var matches = yield Zotero.Fulltext.findTextInItems([attachment.id], 'works');
|
||||
var matches = yield Zotero.Fulltext.findTextInItems([attachment.id], 'share your research');
|
||||
assert.lengthOf(matches, 1);
|
||||
assert.propertyVal(matches[0], 'id', attachment.id);
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue