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:04:27 UTC

svn commit: r1593903 - in /ofbiz/branches/release13.07: ./ applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl

Author: jleroux
Date: Mon May 12 08:04:26 2014
New Revision: 1593903

URL: http://svn.apache.org/r1593903
Log:
"Applied fix from trunk for revision: 1593902" 
------------------------------------------------------------------------
r1593902 | jleroux | 2014-05-12 10:03:35 +0200 (lun. 12 mai 2014) | 5 lignes

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/branches/release13.07/   (props changed)
    ofbiz/branches/release13.07/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl

Propchange: ofbiz/branches/release13.07/
------------------------------------------------------------------------------
  Merged /ofbiz/trunk:r1593902

Modified: ofbiz/branches/release13.07/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl?rev=1593903&r1=1593902&r2=1593903&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl (original)
+++ ofbiz/branches/release13.07/applications/product/webapp/facility/shipment/ReceiveInventoryAgainstPurchaseOrder.ftl Mon May 12 08:04:26 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;
           }
         }