www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 0b09ef65f679258658e2c24a7fda18ee7add3ce1
parent c6be453564944fff1a207dbe260e3f3ec3f0486d
Author: Simon Kornblith <simon@simonster.com>
Date:   Wed, 13 Jun 2012 18:22:11 -0400

Fix saving when an older version of Zotero Standalone is used

Diffstat:
Mchrome/content/zotero/xpcom/connector/translate_item.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/connector/translate_item.js b/chrome/content/zotero/xpcom/connector/translate_item.js @@ -83,7 +83,7 @@ Zotero.Translate.ItemSaver.prototype = { if(data !== false) { Zotero.debug("Translate: Save via Standalone succeeded"); var haveAttachments = false; - if(data.items) { + if(data && data.items) { for(var i=0; i<data.items.length; i++) { var attachments = items[i].attachments = data.items[i].attachments; for(var j=0; j<attachments.length; j++) {