www

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

commit d3ca13930d762d2a0842cae5f118eebea2c274a8
parent 8208ece9dfe39f29c84b6d08ce72e75257cc2de2
Author: Adomas VenĨkauskas <adomas.ven@gmail.com>
Date:   Thu, 29 Sep 2016 16:21:37 +0300

Update http server endpoint

Diffstat:
Mchrome/content/zotero/xpcom/server_connector.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/server_connector.js b/chrome/content/zotero/xpcom/server_connector.js @@ -89,7 +89,7 @@ Zotero.Server.Connector.GetTranslators.prototype = { // Translator data var me = this; if(data.url) { - Zotero.Translators.getWebTranslatorsForLocation(data.url).then(function(data) { + Zotero.Translators.getWebTranslatorsForLocation(data.url, data.rootUrl).then(function(data) { sendResponseCallback(200, "application/json", JSON.stringify(me._serializeTranslators(data[0]))); });