From fec644ce740e76f84fd97cbba8d357716cde877c Mon Sep 17 00:00:00 2001 From: erickson Date: Mon, 3 Nov 2008 19:26:49 +0000 Subject: [PATCH] shortname is not available in 1.2 global org tree. continue using name git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2@11045 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/server/admin/copy_locations.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Open-ILS/xul/staff_client/server/admin/copy_locations.js b/Open-ILS/xul/staff_client/server/admin/copy_locations.js index df2a89c55e..f5872dcd90 100644 --- a/Open-ILS/xul/staff_client/server/admin/copy_locations.js +++ b/Open-ILS/xul/staff_client/server/admin/copy_locations.js @@ -107,7 +107,7 @@ function clDraw(r) { function clBuildRow( tbody, row, cl ) { $n( row, 'cl_name').appendChild(text(cl.name())); - $n( row, 'cl_owner').appendChild(text(findOrgUnit(cl.owning_lib()).shortname())); + $n( row, 'cl_owner').appendChild(text(findOrgUnit(cl.owning_lib()).name())); appendClear($n( row, 'cl_holdable'), (isTrue(cl.holdable())) ? _TRUE.cloneNode(true) : _FALSE.cloneNode(true) ); appendClear($n( row, 'cl_hold_verify'), (isTrue(cl.hold_verify())) ? _TRUE.cloneNode(true) : _FALSE.cloneNode(true) ); @@ -133,7 +133,7 @@ function clEdit( cl, tbody, row ) { name.setAttribute('size', cl.name().length + 3); name.value = cl.name(); - $n(r, 'cl_edit_owner').appendChild(text(findOrgUnit(cl.owning_lib()).shortname())); + $n(r, 'cl_edit_owner').appendChild(text(findOrgUnit(cl.owning_lib()).name())); var arr = _clOptions(r); if(isTrue(cl.holdable())) arr[0].checked = true; -- 2.11.0