From: Mike Taylor Date: Fri, 22 Aug 2014 09:53:06 +0000 (+0100) Subject: Access the PP2 URL via the new API function. X-Git-Tag: 1.0.0~39^2~7^2~2 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=c22a7bdd02a10f5d9622c799bd44f8f9ec0b85ba;p=mkws-moved-to-github.git Access the PP2 URL via the new API function. --- diff --git a/src/mkws-team.js b/src/mkws-team.js index 9abed73..011d643 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -94,7 +94,7 @@ function team($, teamName) { // then register the form submit event with the pz2.search function // autoInit is set to true on default m_paz = new pz2({ "windowid": teamName, - "pazpar2path": config.pazpar2_url, + "pazpar2path": mkws.pazpar2_url(), "usesessions" : config.use_service_proxy ? false : true, "oninit": onInit, "onbytarget": onBytarget,