Fix search translation for Firefox 17 sandboxing changes
This commit is contained in:
parent
e0e4699c3e
commit
a8efc1b874
|
@ -2097,7 +2097,10 @@ Zotero.Translate.Search.prototype.complete = function(returnValue, error) {
|
|||
/**
|
||||
* Pass search item to detect* and do* functions
|
||||
*/
|
||||
Zotero.Translate.Search.prototype._getParameters = function() { return [this.search]; };
|
||||
Zotero.Translate.Search.prototype._getParameters = function() {
|
||||
if(Zotero.isFx) return [this._sandboxManager.sandbox.Zotero._transferItem(JSON.stringify(this.search))];
|
||||
return [this.search];
|
||||
};
|
||||
|
||||
/**
|
||||
* Extract sandbox location from translator target
|
||||
|
|
Loading…
Reference in New Issue
Block a user