카운터와 파일모듈에서 불필요한 컨텐츠를 재출력하는 문제 해결

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3717 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-02-19 15:14:57 +00:00
parent c604ab34a7
commit 2e9032a4ee
2 changed files with 3 additions and 4 deletions

View file

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