Adding customization to disable the "Clear Holds Shelf" function.
authorChris Sharp <csharp@georgialibraries.org>
Thu, 3 Apr 2014 18:33:45 +0000 (14:33 -0400)
committerChris Sharp <csharp@georgialibraries.org>
Fri, 13 Sep 2019 19:10:42 +0000 (15:10 -0400)
Open-ILS/xul/staff_client/server/skin/custom.js [new file with mode: 0644]

diff --git a/Open-ILS/xul/staff_client/server/skin/custom.js b/Open-ILS/xul/staff_client/server/skin/custom.js
new file mode 100644 (file)
index 0000000..8668301
--- /dev/null
@@ -0,0 +1,5 @@
+try {
+    if (document.getElementById('cmd_clear_holds_shelf') && location.protocol == 'chrome:') {
+        document.getElementById('cmd_clear_holds_shelf').setAttribute('disabled','true');
+    }
+} catch(E) {}