This is an automated email from the ASF dual-hosted git repository.

jleroux pushed a commit to branch release22.01
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/release22.01 by this push:
     new 40f923ff3 Fixed: Unable to add product to cart for specific product 
(OFBIZ-12105)
40f923ff3 is described below

commit 40f923ff3ac450bd78cc2bd4ff96ae0833ac29a1
Author: Jacques Le Roux <jacques.le.r...@les7arts.com>
AuthorDate: Sat Dec 31 10:52:03 2022 +0100

    Fixed: Unable to add product to cart for specific product (OFBIZ-12105)
    
    Completes previous commit
---
 ecommerce/webapp/ecommerce/images/productAdditionalView.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ecommerce/webapp/ecommerce/images/productAdditionalView.js 
b/ecommerce/webapp/ecommerce/images/productAdditionalView.js
index ad746d39b..f47d006da 100644
--- a/ecommerce/webapp/ecommerce/images/productAdditionalView.js
+++ b/ecommerce/webapp/ecommerce/images/productAdditionalView.js
@@ -38,7 +38,7 @@ imgView = {
     },
     showImage: function() {
         var mainImage = document.getElementById('detailImage');
-        mainImage.src = this.getAttributeNode('swapDetail').value;
+        mainImage.src = this.getAttribute('swapDetail').value;
         return false;
     },
     addEvent: function(element, eventType, doFunction, useCapture) {

Reply via email to