From 372cbec7585663ff56e033f06650d156037495e4 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Thu, 31 Jul 2014 15:17:58 -0400 Subject: [PATCH] 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 --- Open-ILS/src/templates/acq/common/li_table.tt2 | 1 - Open-ILS/web/js/ui/default/acq/common/li_table.js | 5 ----- 2 files changed, 6 deletions(-) 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(); -- 2.11.0