Merge pull request #207 from aurimasv/SA-savePage

[Standalone] Pass url to detect function from savePages
This commit is contained in:
Simon Kornblith 2012-12-01 08:46:12 -08:00
commit 92e2ed45fd

View file

@ -187,9 +187,9 @@ Zotero.Server.Connector.SavePage.prototype = {
* @param {Object} data POST data or GET query string
* @param {Function} sendResponseCallback function to send HTTP response
*/
"init":function(data, sendResponseCallback) {
"init":function(url, data, sendResponseCallback) {
this.sendResponse = sendResponseCallback;
Zotero.Server.Connector.Detect.prototype.init.apply(this, [data, sendResponseCallback])
Zotero.Server.Connector.Detect.prototype.init.apply(this, [url, data, sendResponseCallback])
},
/**