Small fixes to comments

This commit is contained in:
Simon Kornblith 2011-10-02 22:27:43 +00:00
parent fd5b26dccc
commit 051445334b
2 changed files with 3 additions and 3 deletions

View File

@ -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
*/

View File

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