From 2e7dd0ec6c93aa30942ba783fee832227f701e76 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 Signed-off-by: Kathy Lussier Signed-off-by: Ben Shum --- 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 e7e4d73c1a..1f48b08f9c 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 @@ -685,11 +685,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.43.2