Access the PP2 URL via the new API function.
authorMike Taylor <mike@indexdata.com>
Fri, 22 Aug 2014 09:53:06 +0000 (10:53 +0100)
committerMike Taylor <mike@indexdata.com>
Fri, 22 Aug 2014 09:53:06 +0000 (10:53 +0100)
src/mkws-team.js

index 9abed73..011d643 100644 (file)
@@ -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,