diff --git a/main/src/main/java/com/yunbao/main/activity/MyWebViewActivity.java b/main/src/main/java/com/yunbao/main/activity/MyWebViewActivity.java index ce9cc40c5..8b97bf421 100644 --- a/main/src/main/java/com/yunbao/main/activity/MyWebViewActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/MyWebViewActivity.java @@ -549,8 +549,8 @@ public class MyWebViewActivity extends AbsActivity { if (!TextUtils.isEmpty(event.getMethod())) { if (TextUtils.equals(event.getMethod(), "androidCommunityGift")) { Constants.nowPostsId = event.getPostsId(); - EncourageDialog fragment = new EncourageDialog(); + fragment.setId(event.getPostsId()); fragment.show(((MyWebViewActivity) mContext).getSupportFragmentManager(), "EncourageDialog"); } else if (TextUtils.equals(event.getMethod(), "modifyMydata")) { indexInto = event.getIndexInto();