From: Bill Erickson Date: Tue, 30 Aug 2011 17:56:44 +0000 (-0400) Subject: Remove block on mark-receive from non-PO UI X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9d38e1eee3a22bcc36b20305c9faf723fd79d0c7;p=contrib%2FConifer.git 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 --- 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 =