git-svn-id: http://xe-core.googlecode.com/svn/trunk@485 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-16 05:06:31 +00:00
parent 9796f9e44b
commit fcf10812a6
9 changed files with 21 additions and 18 deletions

View file

@ -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);
}