www

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

commit 18aa61918d42e7d937efaf49789f361ad02a8c55
parent 291c87737c3c43b4546d703d4c48729badb393d5
Author: Simon Kornblith <simon@simonster.com>
Date:   Tue, 11 Jan 2011 04:56:13 +0000

don't check in Standalone, which has Zotero.isFx set to true


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