Author: surajk
Date: Fri Aug 10 12:57:11 2018
New Revision: 1837799
URL:
http://svn.apache.org/viewvc?rev=1837799&view=revLog:
Applied fix from trunk for revision: 1837796
===
Fixed: Not able to select Virtual Product in WebPos.
(OFBIZ-7719)
Thanks Vishal for your patch.
Modified:
ofbiz/ofbiz-plugins/branches/release17.12/ (props changed)
ofbiz/ofbiz-plugins/branches/release17.12/webpos/webapp/webpos/images/js/ChooseVariant.js
Propchange: ofbiz/ofbiz-plugins/branches/release17.12/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Aug 10 12:57:11 2018
@@ -11,4 +11,4 @@
/ofbiz/branches/multitenant20100310/plugins:921280-927264
/ofbiz/branches/release13.07/plugins:1547657
/ofbiz/ofbiz-framework/trunk:1836107
-/ofbiz/ofbiz-plugins/trunk:1819576,1819580,1819582,1819589,1820962,1820973,1821045,1821049,1821051,1822129,1822133,1822139,1822143,1822145,1822389,1822391,1822395,1824646,1824648,1824650,1824654,1828569,1830856,1831084,1832727,1832800
+/ofbiz/ofbiz-plugins/trunk:1819576,1819580,1819582,1819589,1820962,1820973,1821045,1821049,1821051,1822129,1822133,1822139,1822143,1822145,1822389,1822391,1822395,1824646,1824648,1824650,1824654,1828569,1830856,1831084,1832727,1832800,1837796
Modified: ofbiz/ofbiz-plugins/branches/release17.12/webpos/webapp/webpos/images/js/ChooseVariant.js
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/branches/release17.12/webpos/webapp/webpos/images/js/ChooseVariant.js?rev=1837799&r1=1837798&r2=1837799&view=diff==============================================================================
--- ofbiz/ofbiz-plugins/branches/release17.12/webpos/webapp/webpos/images/js/ChooseVariant.js (original)
+++ ofbiz/ofbiz-plugins/branches/release17.12/webpos/webapp/webpos/images/js/ChooseVariant.js Fri Aug 10 12:57:11 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);
}
}