From 4b0e2a955421fff49f156f60acfaf2b5e4117f40 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 2 Jun 2017 10:36:44 -0400 Subject: [PATCH] Fix separate note window (regression from 4e1937680f) --- chrome/content/zotero/note.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/note.js b/chrome/content/zotero/note.js index ab932b963..8056dd03d 100644 --- a/chrome/content/zotero/note.js +++ b/chrome/content/zotero/note.js @@ -37,8 +37,8 @@ function onLoad() { if (window.arguments) { var io = window.arguments[0]; } - var itemID = io.itemID; - var collectionID = io.collectionID; + var itemID = parseInt(io.itemID); + var collectionID = parseInt(io.collectionID); var parentItemKey = io.parentItemKey; return Zotero.spawn(function* () {