Fix some locate engines (e.g., Google Scholar)
This commit is contained in:
parent
499da5ca3d
commit
fabf801fdb
1 changed files with 3 additions and 3 deletions
|
@ -428,9 +428,9 @@ Zotero.LocateManager = new function() {
|
|||
if(responseType && responseType !== "text/html") {
|
||||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue