diff --git a/chrome/content/zotero/xpcom/connector/translate_item.js b/chrome/content/zotero/xpcom/connector/translate_item.js index 3820272a6a..490c918d61 100644 --- a/chrome/content/zotero/xpcom/connector/translate_item.js +++ b/chrome/content/zotero/xpcom/connector/translate_item.js @@ -174,13 +174,14 @@ Zotero.Translate.ItemSaver.prototype = { * attachmentCallback() will be called with all attachments that will be saved */ "_saveToServer":function(items, callback, attachmentCallback) { - var newItems = [], typedArraysSupported = false; + var newItems = [], itemIndices = [], typedArraysSupported = false; try { typedArraysSupported = !!(new Uint8Array(1) && new Blob()); } catch(e) {} for(var i=0, n=items.length; i