From 9d38e1eee3a22bcc36b20305c9faf723fd79d0c7 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 30 Aug 2011 13:56:44 -0400 Subject: [PATCH] Remove block on mark-receive from non-PO UI Allow lineitem mark-received action to take place from lineitem table UI even when not viewing a PO (e.g. from search results) Signed-off-by: Bill Erickson Signed-off-by: Jason Stephenson Signed-off-by: Mike Rylander --- Open-ILS/web/js/ui/default/acq/common/li_table.js | 4 ---- 1 file changed, 4 deletions(-) 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 c9b70d4087..9e3e350aee 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 @@ -2323,10 +2323,6 @@ function AcqLiTable() { } this.issueReceive = function(obj, rollback) { - /* (For now) there shall be no marking LI or LIDs (un)received - * except from the actual "view PO" interface. */ - if (!this.isPO) return; - var part = {"jub": "lineitem", "acqlid": "lineitem_detail"}[obj.classname]; var method = -- 2.11.0