Fix saving into collections when translation is performed in the browser
This commit is contained in:
parent
59cff2ad1a
commit
dec907569a
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ Zotero.Server.Connector.SaveItem.prototype = {
|
|||
if(returnValue) {
|
||||
try {
|
||||
for each(var item in data) {
|
||||
if(collection) collection.addItem(savedItem.id);
|
||||
if(collection) collection.addItem(item.id);
|
||||
}
|
||||
sendResponseCallback(201);
|
||||
} catch(e) {
|
||||
|
|
Loading…
Reference in a new issue