Remove block on mark-receive from non-PO UI user/berick/acq-li-dropdown-actions
authorBill Erickson <berick@esilibrary.com>
Tue, 30 Aug 2011 17:56:44 +0000 (13:56 -0400)
committerBill Erickson <berick@esilibrary.com>
Tue, 30 Aug 2011 17:56:44 +0000 (13:56 -0400)
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 <berick@esilibrary.com>
Open-ILS/web/js/ui/default/acq/common/li_table.js

index 6698cd3..92aa804 100644 (file)
@@ -2174,10 +2174,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 =