You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2014/05/12 10:03:35 UTC
svn commit: r1593902 -
/ofbiz/trunk/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl
Author: jleroux
Date: Mon May 12 08:03:35 2014
New Revision: 1593902
URL: http://svn.apache.org/r1593902
Log:
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
Modified:
ofbiz/trunk/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl
Modified: ofbiz/trunk/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl?rev=1593902&r1=1593901&r2=1593902&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl (original)
+++ ofbiz/trunk/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl Mon May 12 08:03:35 2014
@@ -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;
}
}