diff --git a/chrome/content/zotero/xpcom/server_connector.js b/chrome/content/zotero/xpcom/server_connector.js index aee4a687c..7caa1b617 100755 --- a/chrome/content/zotero/xpcom/server_connector.js +++ b/chrome/content/zotero/xpcom/server_connector.js @@ -476,7 +476,7 @@ Zotero.Server.Connector.Ping.prototype = { "supportedDataTypes":["application/json", "text/plain"], /** - * Finishes up translation when item selection is complete + * Sends nothing * @param {String} data POST data or GET query string * @param {Function} sendResponseCallback function to send HTTP response */ @@ -499,7 +499,7 @@ Zotero.Server.Connector.IEHack.prototype = { "supportedMethods":["GET"], /** - * Finishes up translation when item selection is complete + * Sends a fixed webpage * @param {String} data POST data or GET query string * @param {Function} sendResponseCallback function to send HTTP response */ diff --git a/chrome/content/zotero/xpcom/utilities_translate.js b/chrome/content/zotero/xpcom/utilities_translate.js index 5ddc4eed7..8ff3b910b 100644 --- a/chrome/content/zotero/xpcom/utilities_translate.js +++ b/chrome/content/zotero/xpcom/utilities_translate.js @@ -234,7 +234,7 @@ Zotero.Utilities.Translate.prototype.processDocuments = function(urls, processor var newLoc = doc.location; if(Zotero.isFx && (loc.protocol !== newLoc.protocol || loc.host !== newLoc.host)) { - // Cross-site; need to serialize and unserialize + // Cross-site; need to wrap processor(Zotero.Translate.SandboxManager.Fx5DOMWrapper(doc), newLoc.toString()); } else { // Not cross-site; no need to wrap