www

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

commit 051445334b062885b7fd03817f63e679d8bf5a8c
parent fd5b26dcccf6247487a6f1e12a5d862094a410d6
Author: Simon Kornblith <simon@simonster.com>
Date:   Sun,  2 Oct 2011 22:27:43 +0000

Small fixes to comments


Diffstat:
Mchrome/content/zotero/xpcom/server_connector.js | 4++--
Mchrome/content/zotero/xpcom/utilities_translate.js | 2+-
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 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 @@ -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