mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 12:19:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@485 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9796f9e44b
commit
fcf10812a6
9 changed files with 21 additions and 18 deletions
|
|
@ -458,13 +458,14 @@
|
|||
**/
|
||||
function setCommentEditor($comment_srl=0) {
|
||||
if(!$comment_srl) {
|
||||
$oDB = &DB::getNextSequence();
|
||||
$oDB = &DB::getInstance();
|
||||
$comment_srl = $oDB->getNextSequence();
|
||||
Context::set('comment_srl', $comment_srl);
|
||||
}
|
||||
|
||||
// 에디터 모듈의 dispEditor를 호출하여 세팅
|
||||
$oEditorView = &getView('editor');
|
||||
$comment_editor = $oEditorView->getEditor($comment, $this->grant->fileupload);
|
||||
$comment_editor = $oEditorView->getEditor($comment_srl, $this->grant->fileupload);
|
||||
Context::set('comment_editor', $comment_editor);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue