From 03d9716c1a5def829674c5e802f03475bc71cc07 Mon Sep 17 00:00:00 2001
From: Chris Hallberg <crhallberg@gmail.com>
Date: Mon, 22 Feb 2016 11:49:58 -0500
Subject: [PATCH] CheckStatus simplification.

---
 themes/bootstrap3/js/record.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/themes/bootstrap3/js/record.js b/themes/bootstrap3/js/record.js
index c3ea5fc2e56..a2abde62825 100644
--- a/themes/bootstrap3/js/record.js
+++ b/themes/bootstrap3/js/record.js
@@ -3,7 +3,7 @@
 /**
  * Functions and event handlers specific to record pages.
  */
-function checkRequestIsValid(element, requestType, blockedClass) {
+function checkRequestIsValid(element, requestType) {
   var recordId = element.href.match(/\/Record\/([^\/]+)\//)[1];
   var vars = deparam(element.href);
   vars['id'] = recordId;
@@ -30,13 +30,13 @@ function checkRequestIsValid(element, requestType, blockedClass) {
 
 function setUpCheckRequest() {
   $('.checkRequest').each(function(i) {
-    checkRequestIsValid(this, 'Hold', 'holdBlocked');
+    checkRequestIsValid(this, 'Hold');
   });
   $('.checkStorageRetrievalRequest').each(function(i) {
-    checkRequestIsValid(this, 'StorageRetrievalRequest', 'StorageRetrievalRequestBlocked');
+    checkRequestIsValid(this, 'StorageRetrievalRequest');
   });
   $('.checkILLRequest').each(function(i) {
-    checkRequestIsValid(this, 'ILLRequest', 'ILLRequestBlocked');
+    checkRequestIsValid(this, 'ILLRequest');
   });
 }
 
-- 
GitLab