Fix some locate engines (e.g., Google Scholar)
This commit is contained in:
parent
499da5ca3d
commit
fabf801fdb
|
@ -429,8 +429,8 @@ Zotero.LocateManager = new function() {
|
||||||
throw "LocateManager supports only responseType text/html";
|
throw "LocateManager supports only responseType text/html";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(item.toArray) {
|
if (item.toJSON) {
|
||||||
item = item.toArray();
|
item = item.toJSON();
|
||||||
}
|
}
|
||||||
|
|
||||||
var itemAsOpenURL = Zotero.OpenURL.createContextObject(item, "1.0", true);
|
var itemAsOpenURL = Zotero.OpenURL.createContextObject(item, "1.0", true);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user