[open-ils-commits] r17893 - branches/rel_2_0/Open-ILS/xul/staff_client/server/cat (phasefx)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Sep 22 15:31:57 EDT 2010
Author: phasefx
Date: 2010-09-22 15:31:53 -0400 (Wed, 22 Sep 2010)
New Revision: 17893
Modified:
branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_browser.js
Log:
merge r17892 from trunk for holdings maintenance fix allowing volumes at top of org tree
Modified: branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_browser.js
===================================================================
--- branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_browser.js 2010-09-22 19:31:07 UTC (rev 17892)
+++ branches/rel_2_0/Open-ILS/xul/staff_client/server/cat/copy_browser.js 2010-09-22 19:31:53 UTC (rev 17893)
@@ -1251,7 +1251,6 @@
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 @@
}
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) {
More information about the open-ils-commits
mailing list