Fix separate note window (regression from 4e1937680f)

This commit is contained in:
Dan Stillman 2017-06-02 10:36:44 -04:00
parent 898a1dc679
commit 4b0e2a9554

View file

@ -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* () {