Browse Source

[쿠폰몰][Bug] 이전 화면 자바스크립트 응답처리를 오류 수정

hyodong.min 6 years ago
parent
commit
31f1701e33

+ 1 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/couponmall/CouponMallFragment.java

@@ -267,7 +267,7 @@ public class CouponMallFragment extends FragmentBase<CouponMallPresenter> implem
     "\t<input type=\"button\" value=\"onSubscribeSelected\" onclick=\"onSubscribeSelected()\" style=\"left:50%;\"/>\n" +
     "\n" +
     "\t쿠폰 취소 :\n" +
-    "\t<input type=\"button\" value=\"onSubscribeSelected\" onclick=\"onRefundSelected('1234')\" style=\"left:50%;\"/>\n" +
+    "\t<input type=\"button\" value=\"onRefundSelected\" onclick=\"onRefundSelected('1234')\" style=\"left:50%;\"/>\n" +
     "\t\n" +
     "</body>\n" +
     "</html>";

+ 1 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/couponmall/CouponMallPresenter.java

@@ -161,7 +161,7 @@ public class CouponMallPresenter extends Presenter<CouponMallModel, ICouponMallV
   public void onUserTermRejected() {
     Log.w("APP# CouponMallPresenter | onUserTermRejected", "|" + "############## 이전 화면 이동");
 
-    onBackPressed();
+    back();
   }
 
   /**