www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 3a8c77e983f77cbf922f5be4997df4c50378d4cf
parent 37f4e61ef2ded71a00380e2371ad1d89d84d579a
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu, 19 Jun 2014 21:31:17 -0400

Fix search translation bug from 7950d3a7e217ce8bceb80dcf7c4e5fac28cd2695

Diffstat:
Mchrome/content/zotero/xpcom/translation/translate.js | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js @@ -2242,9 +2242,8 @@ Zotero.Translate.Search.prototype.complete = function(returnValue, error) { */ Zotero.Translate.Search.prototype._getParameters = function() { if(Zotero.isFx) { - var search = this._sandboxManager._copyObject(this.search.wrappedJSObject ? - this.search.wrappedJSObject : this.search); - search.complete = this._sandboxZotero.Item.prototype.complete + return [this._sandboxManager._copyObject(this.search.wrappedJSObject ? + this.search.wrappedJSObject : this.search)]; } return [this.search]; };