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
This commit is contained in:
Jacques Le Roux
2014-05-12 08:03:35 +00:00
parent 3fe1f58582
commit 200929a2e3
@@ -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;
}
}