From 0d16a33004b82104959dbdae16ba8284ee3ff3e8 Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 20 Mar 2006 22:59:39 +0000 Subject: [PATCH] checking for can_hav_users when setting pickup lib git-svn-id: svn://svn.open-ils.org/ILS/trunk@3406 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/web/opac/skin/default/js/holds.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/web/opac/skin/default/js/holds.js b/Open-ILS/web/opac/skin/default/js/holds.js index 0bf2139fb9..f0e41f4727 100644 --- a/Open-ILS/web/opac/skin/default/js/holds.js +++ b/Open-ILS/web/opac/skin/default/js/holds.js @@ -177,7 +177,7 @@ function holdsBuildOrgSelector(node) { var type = findOrgType(node.ou_type()); var indent = type.depth() - 1; var opt = setSelectorVal( selector, index, node.name(), node.id(), null, indent ); - if(!type.can_have_vols()) opt.disabled = true; + if(!type.can_have_users()) opt.disabled = true; if( node.id() == holdRecipient.home_ou() ) { selector.selectedIndex = index; -- 2.43.2