added check for deposit flag to prevent holds from outside of the system
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 22 Sep 2006 20:04:39 +0000 (20:04 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 22 Sep 2006 20:04:39 +0000 (20:04 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@6195 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/javascript/backend/circ/circ_permit_hold.js

index a7b45aa..e9d0ad8 100644 (file)
@@ -37,6 +37,7 @@ if( ( marcItemType == 'g' ||
                mod == 'av' || 
                mod == 'cd' || 
                mod == 'dvd' || 
+               isTrue(copy.deposit) || 
                mod == 'video-long' || 
                mod == 'video' ) ) {