From 920b4ba1cb4846bad58895c7d057fb82d814076c Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 22 Sep 2010 19:31:07 +0000 Subject: [PATCH] Holdings Maintenance used to make too many assumptions about what a decent org hierarchy looked like, and had these rules to suppress some of the fetch-render-happy behavior that existed when clicking on org units. We can remove them now, and this allows volumes to render when owned by the top of the org tree git-svn-id: svn://svn.open-ils.org/ILS/trunk@17892 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/cat/copy_browser.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/cat/copy_browser.js b/Open-ILS/xul/staff_client/server/cat/copy_browser.js index f6698775e..902c52e81 100644 --- a/Open-ILS/xul/staff_client/server/cat/copy_browser.js +++ b/Open-ILS/xul/staff_client/server/cat/copy_browser.js @@ -1251,7 +1251,6 @@ cat.copy_browser.prototype = { var obj = this; try { var org = obj.data.hash.aou[ org_id ]; - if (obj.data.hash.aout[ org.ou_type() ].depth() == 0 && ! get_bool( obj.data.hash.aout[ org.ou_type() ].can_have_vols() ) ) return; obj.funcs.push( function() { document.getElementById('cmd_refresh_list').setAttribute('disabled','true'); document.getElementById('cmd_show_libs_with_copies').setAttribute('disabled','true'); @@ -1376,10 +1375,8 @@ cat.copy_browser.prototype = { } if (document.getElementById('show_acns').checked) { - if (! ( obj.data.hash.aout[ org.ou_type() ].depth() == 0 && ! get_bool( obj.data.hash.aout[ org.ou_type() ].can_have_vols() ) )) { - node.setAttribute('open','true'); - obj.funcs.push( function() { obj.on_select_org( org.id() ); } ); - } + node.setAttribute('open','true'); + obj.funcs.push( function() { obj.on_select_org( org.id() ); } ); } } catch(E) { -- 2.11.0