Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jQuery.exec_json으로 코멘트 추천, 비추천시 리턴값에 문제가 있습니다. #1580

Closed
zfanta opened this issue Jul 4, 2015 · 1 comment

Comments

@zfanta
Copy link
Contributor

zfanta commented Jul 4, 2015

image
공홈에서도 확인한 결과 글을 추천한 경우 추천 갯수가 리턴되는데 코멘트의 경우에는 추천 갯수가 리턴되지 않습니다.

// Return the result
$output = new Object(0, $success_message);
if($point > 0)
{
    $output->add('voted_count', $obj->after_point);
}
else
{
    $output->add('blamed_count', $obj->after_point);
}
$output->add('point', $point);

return $output;

comment.controller.php의 updateVotedCount에 저 코드가 있고 실행도 되는데 이상하네요.

ghost pushed a commit that referenced this issue Jul 6, 2015
#1580 댓글 추천/비추천시에도 변경된 추천수를 반환하도록 수정
@misol
Copy link
Contributor

misol commented Jul 21, 2015

최신 버전에서 해결된 이슈니 닫아도 될 것 같습니다. @bnu 님 고생하셨습니다. @YJSoft 님도 고생하셨습니다.

@zfanta zfanta closed this as completed Jul 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants