- Show "via Zotero Standalone" in tooltip for translators that use Zotero Standalone

- Don't write out all the charsets while loading the charset menu
This commit is contained in:
Simon Kornblith 2011-07-21 04:08:49 +00:00
parent 6a8be039d0
commit 3611a4ea30
2 changed files with 3 additions and 1 deletions

View file

@ -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) {

View file

@ -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);
}