www

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

commit 3611a4ea308c866a6fb410a8baf7d36ee4cb0e64
parent 6a8be039d0e333cfd18456e937a109ed7b2c7739
Author: Simon Kornblith <simon@simonster.com>
Date:   Thu, 21 Jul 2011 04:08:49 +0000

- Show "via Zotero Standalone" in tooltip for translators that use Zotero Standalone
- Don't write out all the charsets while loading the charset menu


Diffstat:
Mchrome/content/zotero/charsetMenu.js | 1-
Mchrome/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 @@ -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 @@ -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<n; i++) { + rpcTranslators[i].runMode = Zotero.Translator.RUN_MODE_ZOTERO_STANDALONE; + } this._foundTranslators = this._foundTranslators.concat(rpcTranslators); }