svn commit: r1837845 - /ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/images/js/SearchPartiesResults.js

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1837845 - /ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/images/js/SearchPartiesResults.js

surajk
Author: surajk
Date: Sat Aug 11 06:18:18 2018
New Revision: 1837845

URL: http://svn.apache.org/viewvc?rev=1837845&view=rev
Log:
Fixed: Party Search doesn't consider Billing Address and Shipping Address checkbox in WebPos.
(OFBIZ-7709)
Thanks Vishal for your patch.

Modified:
    ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/images/js/SearchPartiesResults.js

Modified: ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/images/js/SearchPartiesResults.js
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/images/js/SearchPartiesResults.js?rev=1837845&r1=1837844&r2=1837845&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/images/js/SearchPartiesResults.js (original)
+++ ofbiz/ofbiz-plugins/trunk/webpos/webapp/webpos/images/js/SearchPartiesResults.js Sat Aug 11 06:18:18 2018
@@ -168,13 +168,13 @@ function partySearchAgain() {
                 '&searchByPartyFirstName=' + jQuery('#searchByPartyFirstName').val() +
                 '&searchByPartyIdValue=' + jQuery('#searchByPartyIdValue').val();
     
-    if (jQuery('#billingLoc').attr('checked') == true) {
+    if (jQuery('#billingLoc').prop('checked') == true) {
         param = param + '&billingLocation=Y';
     } else {
         param = param + '&billingLocation=N';
     }
     
-    if (jQuery('#shippingLoc').attr('checked') == true) {
+    if (jQuery('#shippingLoc').prop('checked') == true) {
         param = param + '&shippingLocation=Y';
     } else {
         param = param + '&shippingLocation=N';