www

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

commit 9e3f4576d282851dcb45ca4e37c1c311727bb6f3
parent f7e6843d68920f4a90afa1d5354742922ebf4d2c
Author: Simon Kornblith <simon@simonster.com>
Date:   Sun, 24 Oct 2010 19:08:01 +0000

check the right type variable


Diffstat:
Mchrome/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 @@ -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