mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 15:19:57 +09:00
블로그의 댓글 성공시 자바스크립트로 페이지 이동할때 이동이 없던 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1970 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7acd1fc4df
commit
0722383917
4 changed files with 12 additions and 8 deletions
|
|
@ -105,9 +105,6 @@
|
|||
// comment 모듈의 controller 객체 생성
|
||||
$oCommentController = &getController('comment');
|
||||
|
||||
// comment_srl이 존재하는지 체크
|
||||
$comment = $oCommentModel->getComment($obj->comment_srl, $this->grant->manager);
|
||||
|
||||
// 줄바꾸임나 태그제거등의 작업
|
||||
$obj->content = nl2br(strip_tags($obj->content));
|
||||
|
||||
|
|
@ -144,10 +141,11 @@
|
|||
|
||||
if(!$output->toBool()) return $output;
|
||||
|
||||
$this->setMessage('success_registed');
|
||||
$this->add('mid', Context::get('mid'));
|
||||
$this->add('document_srl', $obj->document_srl);
|
||||
$this->add('comment_srl', $comment_srl);
|
||||
$this->add('comment_srl', $obj->comment_srl);
|
||||
|
||||
$this->setMessage('success_registed');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue