Authored by hf

fixes bug refs YBW-2713 modify cuxiao coupon js check is app and logged

@@ -22,7 +22,7 @@ $('#get-all-coupon').click(function() { @@ -22,7 +22,7 @@ $('#get-all-coupon').click(function() {
22 if (userIsLogged === 'Y') { 22 if (userIsLogged === 'Y') {
23 var cookieCouponId = cookie('_Coupon' + activityId); 23 var cookieCouponId = cookie('_Coupon' + activityId);
24 if (cookieCouponId && !isNaN(cookieCouponId)) { 24 if (cookieCouponId && !isNaN(cookieCouponId)) {
25 - getNamedCoupon(activityId, cookieCouponId, isApp); 25 + getNamedCoupon(activityId, cookieCouponId, isApp, userIsLogged);
26 } 26 }
27 } 27 }
28 28