From: erickson Date: Wed, 16 Aug 2006 18:16:48 +0000 (+0000) Subject: disabling the ability to add to non-usergroup groups X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e2c5ee95fa8827333fb8ef2b830b7ed0231a6a46;p=evergreen%2Fpines.git disabling the ability to add to non-usergroup groups git-svn-id: svn://svn.open-ils.org/ILS/trunk@5536 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/server/patron/ue_ui.js b/Open-ILS/xul/staff_client/server/patron/ue_ui.js index 1ad7a118af..df28f4b8af 100644 --- a/Open-ILS/xul/staff_client/server/patron/ue_ui.js +++ b/Open-ILS/xul/staff_client/server/patron/ue_ui.js @@ -130,6 +130,7 @@ function uEditDrawGroups(tree, depth, selector) { if( org == -1 ) return; var opt = insertSelectorVal( selector, -1, tree.name(), tree.id(), null, depth++ ); + if(!isTrue(tree.usergroup())) opt.disabled = true; for( var c in tree.children() ) uEditDrawGroups( tree.children()[c], depth, selector );