From 3611a4ea308c866a6fb410a8baf7d36ee4cb0e64 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Thu, 21 Jul 2011 04:08:49 +0000 Subject: [PATCH] - Show "via Zotero Standalone" in tooltip for translators that use Zotero Standalone - Don't write out all the charsets while loading the charset menu --- chrome/content/zotero/charsetMenu.js | 1 - chrome/content/zotero/xpcom/translation/translate.js | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/content/zotero/charsetMenu.js b/chrome/content/zotero/charsetMenu.js index 84903e9e4c..0296e44308 100644 --- a/chrome/content/zotero/charsetMenu.js +++ b/chrome/content/zotero/charsetMenu.js @@ -49,7 +49,6 @@ var Zotero_Charset_Menu = new function() { // add charsets to popup in order while(charsets.hasMore()) { var charset = charsets.getNext(); - Zotero.debug(charset); try { var label = charsetConverter.getCharsetTitle(charset); } catch(e) { diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js index 890aba5a58..3118745165 100644 --- a/chrome/content/zotero/xpcom/translation/translate.js +++ b/chrome/content/zotero/xpcom/translation/translate.js @@ -910,6 +910,9 @@ Zotero.Translate.Base.prototype = { // if there are translators, add them to the list of found translators if(rpcTranslators) { + for(var i=0, n=rpcTranslators.length; i