Look in the right place for path to pz2/sp.
[mkdru-moved-to-drupal.org.git] / mkdru.client.js
index 3f34a8e..c21f285 100644 (file)
@@ -418,7 +418,7 @@ $(document).ready(function () {
     } else {
       params['action'] = 'ipauth';
     }
-    var authReq = new pzHttpRequest(mkdru.pazpar2Path, 
+    var authReq = new pzHttpRequest(mkdru.settings.pz2_path, 
       function (err) {
         alert("Authentication against metasearch gateway failed: " +err);
       }