From 8b960bee9bd765bc4743e0b92d398a725d8b575c Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Wed, 18 Nov 2015 13:22:14 -0500
Subject: [PATCH] Remove copy-paste typo from Simply checkRequestIsValid commit
 (c08d19a24b17a471b95e824b2e8fbac8d0eff421)

---
 themes/bootstrap3/js/record.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/themes/bootstrap3/js/record.js b/themes/bootstrap3/js/record.js
index 1551d72229d..b67e1f085ab 100644
--- a/themes/bootstrap3/js/record.js
+++ b/themes/bootstrap3/js/record.js
@@ -8,7 +8,7 @@ function checkRequestIsValid(element, requestType, blockedClass) {
   var vars = deparam(element.href);
   vars['id'] = recordId;
 
-  var url = VUFIND.getPath() + '/AJAX/JSON?' + $.param({method:'checkRequestIsValid', id: recordId, requestType: requestType, data: vars});
+  var url = path + '/AJAX/JSON?' + $.param({method:'checkRequestIsValid', id: recordId, requestType: requestType, data: vars});
   $.ajax({
     dataType: 'json',
     cache: false,
-- 
GitLab