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;
           }
         }


Reply via email to