[open-ils-commits] r11045 - branches/rel_1_2/Open-ILS/xul/staff_client/server/admin
svn at svn.open-ils.org
svn at svn.open-ils.org
Mon Nov 3 14:26:52 EST 2008
Author: erickson
Date: 2008-11-03 14:26:49 -0500 (Mon, 03 Nov 2008)
New Revision: 11045
Modified:
branches/rel_1_2/Open-ILS/xul/staff_client/server/admin/copy_locations.js
Log:
shortname is not available in 1.2 global org tree. continue using name
Modified: branches/rel_1_2/Open-ILS/xul/staff_client/server/admin/copy_locations.js
===================================================================
--- branches/rel_1_2/Open-ILS/xul/staff_client/server/admin/copy_locations.js 2008-11-03 19:14:43 UTC (rev 11044)
+++ branches/rel_1_2/Open-ILS/xul/staff_client/server/admin/copy_locations.js 2008-11-03 19:26:49 UTC (rev 11045)
@@ -107,7 +107,7 @@
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 @@
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;
More information about the open-ils-commits
mailing list