mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
카운터와 파일모듈에서 불필요한 컨텐츠를 재출력하는 문제 해결
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3717 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c604ab34a7
commit
2e9032a4ee
2 changed files with 3 additions and 4 deletions
|
|
@ -198,9 +198,7 @@
|
|||
if(!$_SESSION['upload_info'][$editor_sequence]->enabled) exit();
|
||||
|
||||
$upload_target_srl = $_SESSION['upload_info'][$editor_sequence]->upload_target_srl;
|
||||
if(!$upload_target_srl) return;
|
||||
|
||||
if($file_srl) $output = $this->deleteFile($file_srl);
|
||||
if($upload_target_srl && $file_srl) $output = $this->deleteFile($file_srl);
|
||||
|
||||
// 첨부파일의 목록을 java script로 출력
|
||||
$this->printUploadedFileList($editor_sequence, $upload_target_srl);
|
||||
|
|
@ -531,6 +529,7 @@
|
|||
Context::set('upload_status', $upload_status);
|
||||
|
||||
// 업로드 현황을 브라우저로 알리기 위한 javascript 코드 출력하는 템플릿 호출
|
||||
Context::set('layout','none');
|
||||
$this->setTemplatePath($this->module_path.'tpl');
|
||||
$this->setTemplateFile('print_uploaded_file_list');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue