From 4a8f41f6d9931c017f30b525121366347011acac Mon Sep 17 00:00:00 2001 From: Chris Sharp Date: Thu, 3 Apr 2014 14:33:45 -0400 Subject: [PATCH] Adding customization to disable the "Clear Holds Shelf" function. --- Open-ILS/xul/staff_client/server/skin/custom.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Open-ILS/xul/staff_client/server/skin/custom.js 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) {} -- 2.11.0