diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index 3b71860e4..0e39fa9dd 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -1562,7 +1562,11 @@ } } - Zotero.debug(comment); + // No result selected + if (!comment) { + return; + } + var [creatorID, numFields] = comment.split('-'); // If result uses two fields, save both