Fix some locate engines (e.g., Google Scholar)

This commit is contained in:
Dan Stillman 2016-11-03 17:34:00 -04:00
parent 499da5ca3d
commit fabf801fdb

View file

@ -429,8 +429,8 @@ Zotero.LocateManager = new function() {
throw "LocateManager supports only responseType text/html";
}
if(item.toArray) {
item = item.toArray();
if (item.toJSON) {
item = item.toJSON();
}
var itemAsOpenURL = Zotero.OpenURL.createContextObject(item, "1.0", true);