From 9e3f4576d282851dcb45ca4e37c1c311727bb6f3 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 24 Oct 2010 19:08:01 +0000 Subject: [PATCH] check the right type variable --- chrome/content/zotero/xpcom/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/translate.js b/chrome/content/zotero/xpcom/translate.js index 5bc2beb0f..a0592b0c9 100644 --- a/chrome/content/zotero/xpcom/translate.js +++ b/chrome/content/zotero/xpcom/translate.js @@ -1016,7 +1016,7 @@ Zotero.Translate.prototype._generateSandbox = function() { translation.setHandler(arg1, function(obj, item) { try { - if(Zotero.isFx4 && (me.type == "web" || me.type == "search")) { + if(Zotero.isFx4 && (type == "web" || type == "search")) { // item is wrapped in an XPCCrossOriginWrapper that we can't get rid of // except by making a deep copy. seems to be due to // https://bugzilla.mozilla.org/show_bug.cgi?id=580128