From 18aa61918d42e7d937efaf49789f361ad02a8c55 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Tue, 11 Jan 2011 04:56:13 +0000 Subject: [PATCH] don't check in Standalone, which has Zotero.isFx set to true --- chrome/content/zotero/xpcom/translation/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index 2a27b02ee..b8777d61d 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -971,7 +971,7 @@ Zotero.Translate.Web.prototype.complete = function(returnValue, error) { // Report translaton failure if we failed if(oldState == "translate" && errorString && this.translator[0].inRepository && Zotero.Prefs.get("reportTranslationFailure")) { // Don't report failure if in private browsing mode - if(Zotero.isFx) { + if(Zotero.isFx && !Zotero.isStandalone) { var pbs = Components.classes["@mozilla.org/privatebrowsing;1"] .getService(Components.interfaces.nsIPrivateBrowsingService); if (pbs.privateBrowsingEnabled) {