From: dbs Date: Mon, 30 Aug 2010 14:24:30 +0000 (+0000) Subject: Backport r17369 from trunk: Display blank instead of 'undefined' for undefined label... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4a7bf886832fb89ceddd56682128425b5c006810;p=working%2FEvergreen.git Backport r17369 from trunk: Display blank instead of 'undefined' for undefined label prefixes and suffixes git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_6@17370 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- 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 1ca934d4b0..13dd38e9fa 100644 --- a/Open-ILS/xul/staff_client/server/admin/copy_locations.js +++ b/Open-ILS/xul/staff_client/server/admin/copy_locations.js @@ -160,8 +160,8 @@ function clBuildRow( tbody, row, cl ) { appendClear($n( row, 'cl_hold_verify'), (isTrue(cl.hold_verify())) ? _TRUE.cloneNode(true) : _FALSE.cloneNode(true) ); appendClear($n( row, 'cl_visible'), (isTrue(cl.opac_visible())) ? _TRUE.cloneNode(true) : _FALSE.cloneNode(true) ); appendClear($n( row, 'cl_circulate'), (isTrue(cl.circulate())) ? _TRUE.cloneNode(true) : _FALSE.cloneNode(true) ); - $n( row, 'cl_label_prefix').appendChild(text(cl.label_prefix())); - $n( row, 'cl_label_suffix').appendChild(text(cl.label_suffix())); + $n( row, 'cl_label_prefix').appendChild(text(cl.label_prefix() || '')); + $n( row, 'cl_label_suffix').appendChild(text(cl.label_suffix() || '')); var edit = $n( row, 'cl_edit'); edit.onclick = function() { clEdit( cl, tbody, row ); };