Author: surajk
Date: Sat Aug 11 05:47:25 2018
New Revision: 1837843

URL: http://svn.apache.org/viewvc?rev=1837843&view=rev
Log:
Fixed: Not able to select Virtual Product in WebPos.
(OFBIZ-7719)
Thanks Vishal for your patch.

Modified:
    
ofbiz/branches/release16.11/specialpurpose/webpos/webapp/webpos/images/js/ChooseVariant.js

Modified: 
ofbiz/branches/release16.11/specialpurpose/webpos/webapp/webpos/images/js/ChooseVariant.js
URL: 
http://svn.apache.org/viewvc/ofbiz/branches/release16.11/specialpurpose/webpos/webapp/webpos/images/js/ChooseVariant.js?rev=1837843&r1=1837842&r2=1837843&view=diff
==============================================================================
--- 
ofbiz/branches/release16.11/specialpurpose/webpos/webapp/webpos/images/js/ChooseVariant.js
 (original)
+++ 
ofbiz/branches/release16.11/specialpurpose/webpos/webapp/webpos/images/js/ChooseVariant.js
 Sat Aug 11 05:47:25 2018
@@ -262,14 +262,14 @@ function getResultOfGetProductAndPrice(d
         var price = data.price;
         var currencyUomId = data.currencyUomId;
         if (product.productName != null) {
-            jQuery('#variantProductDescription').update(product.productName);
+            jQuery('#variantProductDescription').val(product.productName);
         } else if (product.productDescription != null) {
-            
jQuery('#variantProductDescription').update(product.productDescription);
+            
jQuery('#variantProductDescription').val(product.productDescription);
         } else if (product.longDescription != null) {
-            
jQuery('#variantProductDescription').update(product.longDescription);
+            jQuery('#variantProductDescription').val(product.longDescription);
         }
         var formattedPrice = getFormattedAmount(price, currencyUomId);
-        jQuery('#variantProductPrice').update(formattedPrice);
+        jQuery('#variantProductPrice').val(formattedPrice);
     }
 }
 


Reply via email to