From: Chris Sharp Date: Thu, 3 Apr 2014 18:33:45 +0000 (-0400) Subject: Adding customization to disable the "Clear Holds Shelf" function. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5ff86fed9461abcd8d9b33e9ef25d4ee1381f6ee;p=evergreen%2Fpines.git Adding customization to disable the "Clear Holds Shelf" function. --- 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 index 0000000000..866830149c --- /dev/null +++ b/Open-ILS/xul/staff_client/server/skin/custom.js @@ -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) {}