You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by su...@apache.org on 2018/08/11 06:07:14 UTC

svn commit: r1837844 - /ofbiz/branches/release16.11/specialpurpose/webpos/webapp/webpos/images/js/SearchPartiesResults.js

Author: surajk
Date: Sat Aug 11 06:07:14 2018
New Revision: 1837844

URL: http://svn.apache.org/viewvc?rev=1837844&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/branches/release16.11/specialpurpose/webpos/webapp/webpos/images/js/SearchPartiesResults.js

Modified: ofbiz/branches/release16.11/specialpurpose/webpos/webapp/webpos/images/js/SearchPartiesResults.js
URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/specialpurpose/webpos/webapp/webpos/images/js/SearchPartiesResults.js?rev=1837844&r1=1837843&r2=1837844&view=diff
==============================================================================
--- ofbiz/branches/release16.11/specialpurpose/webpos/webapp/webpos/images/js/SearchPartiesResults.js (original)
+++ ofbiz/branches/release16.11/specialpurpose/webpos/webapp/webpos/images/js/SearchPartiesResults.js Sat Aug 11 06:07:14 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';