Small fixes to comments
This commit is contained in:
parent
fd5b26dccc
commit
051445334b
|
@ -476,7 +476,7 @@ Zotero.Server.Connector.Ping.prototype = {
|
||||||
"supportedDataTypes":["application/json", "text/plain"],
|
"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 {String} data POST data or GET query string
|
||||||
* @param {Function} sendResponseCallback function to send HTTP response
|
* @param {Function} sendResponseCallback function to send HTTP response
|
||||||
*/
|
*/
|
||||||
|
@ -499,7 +499,7 @@ Zotero.Server.Connector.IEHack.prototype = {
|
||||||
"supportedMethods":["GET"],
|
"supportedMethods":["GET"],
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Finishes up translation when item selection is complete
|
* Sends a fixed webpage
|
||||||
* @param {String} data POST data or GET query string
|
* @param {String} data POST data or GET query string
|
||||||
* @param {Function} sendResponseCallback function to send HTTP response
|
* @param {Function} sendResponseCallback function to send HTTP response
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -234,7 +234,7 @@ Zotero.Utilities.Translate.prototype.processDocuments = function(urls, processor
|
||||||
|
|
||||||
var newLoc = doc.location;
|
var newLoc = doc.location;
|
||||||
if(Zotero.isFx && (loc.protocol !== newLoc.protocol || loc.host !== newLoc.host)) {
|
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());
|
processor(Zotero.Translate.SandboxManager.Fx5DOMWrapper(doc), newLoc.toString());
|
||||||
} else {
|
} else {
|
||||||
// Not cross-site; no need to wrap
|
// Not cross-site; no need to wrap
|
||||||
|
|
Loading…
Reference in New Issue
Block a user