From 200929a2e3d41d4ccfcbd1fbda67de76d151da17 Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Mon, 12 May 2014 08:03:35 +0000 Subject: [PATCH] Reverts r1592530 for OFBIZ-5637 "Cannot receive PO shipment" A change introduced by SVN commit r1345532 in the inline JavaScript snippet in ReceiveInventoryAgainstPurchaseOrder.ftl causes an error while receiving PO into the facility. We confused ftl and js git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1593902 13f79535-47bb-0310-9956-ffa450edef68 --- .../facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl b/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl index 65440b81d6..9e6e45e0a8 100644 --- a/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl +++ b/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl @@ -24,7 +24,7 @@ under the License. for (var x = 0; x <= rowCount; x++) { var quantityAcceptedInput = document.getElementById('quantityAccepted_o_' + x); var quantityInput = document.getElementById('quantity_o_' + x); - if (quantityAcceptedInput?? && quantityInput??) { + if (quantityAcceptedInput != null && quantityInput != null) { quantityInput.value = quantityAcceptedInput.value; } }