From: Bill Erickson Date: Thu, 31 Jul 2014 19:17:58 +0000 (-0400) Subject: LP#1270289 remove redundant lineitem cancel display X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=372cbec7585663ff56e033f06650d156037495e4;p=working%2FEvergreen.git LP#1270289 remove redundant lineitem cancel display Remove the cancel reason label displayed in the lineitem list pages since the cancel reason is now displayed as the lineitem status for cancelled lineitems. Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/templates/acq/common/li_table.tt2 b/Open-ILS/src/templates/acq/common/li_table.tt2 index b93749dbc9..951772518d 100644 --- a/Open-ILS/src/templates/acq/common/li_table.tt2 +++ b/Open-ILS/src/templates/acq/common/li_table.tt2 @@ -155,7 +155,6 @@ - diff --git a/Open-ILS/web/js/ui/default/acq/common/li_table.js b/Open-ILS/web/js/ui/default/acq/common/li_table.js index 95cd628718..b5cea665fc 100644 --- a/Open-ILS/web/js/ui/default/acq/common/li_table.js +++ b/Open-ILS/web/js/ui/default/acq/common/li_table.js @@ -664,11 +664,6 @@ function AcqLiTable() { dojo.forEach(tds, function(td) {self.setRowAttr(td, liWrapper, td.getAttribute('attr'), td.getAttribute('attr_type'));}); dojo.query('[name=source_label]', row)[0].appendChild(document.createTextNode(li.source_label())); - if (li.cancel_reason() && typeof li.cancel_reason() == 'object') { - dojo.query('[name=cancel_reason]', row)[0].appendChild( - document.createTextNode(li.cancel_reason().label())); - } - // so we can scroll to it later dojo.query('[name=bib-info-cell]', row)[0].id = 'li-title-ref-' + li.id();