#18057838 &가 들어간 경로 수정 - 이미지 파일에 대해서만 하도록 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6490 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-06-08 01:02:12 +00:00
parent 53ca39ddfb
commit 3cbd3035b7

View file

@ -270,8 +270,8 @@ function completeReloadFileList(ret_obj, response_tags, settings) {
var loadingImage = new Image(); var loadingImage = new Image();
loadingImage.src = item[i].download_url; loadingImage.src = item[i].download_url;
loaded_images[file_srl] = loadingImage; loaded_images[file_srl] = loadingImage;
item[i].download_url = item[i].download_url.replace(/&/g, "&");
} }
item[i].download_url = item[i].download_url.replace(/&/g, "&");
} }
previewFiles('', item[item.length-1].file_srl); previewFiles('', item[item.length-1].file_srl);
} }
@ -395,7 +395,7 @@ function insertUploadedFile(editorSequence) {
text.push(temp_code); text.push(temp_code);
// 이미지외의 경우는 multimedia_link 컴포넌트 연결 // 이미지외의 경우는 multimedia_link 컴포넌트 연결
} else { } else {
text.push("<img src=\"common/tpl/images/blank.gif\" editor_component=\"multimedia_link\" multimedia_src=\""+file.download_url+"\" width=\"400\" height=\"320\" style=\"display:block;width:400px;height:320px;border:2px dotted #4371B9;background:url(./modules/editor/components/multimedia_link/tpl/multimedia_link_component.gif) no-repeat center;\" auto_start=\"false\" wmode=\"transparent\" alt=\"\" />"); text.push("<img src=\"common/tpl/images/blank.gif\" editor_component=\"multimedia_link\" multimedia_src=\""+file.download_url+"\" width=\"400\" height=\"320\" style=\"display:block;width:400px;height:320px;border:2px dotted #4371B9;background:url(./modules/editor/components/multimedia_link/tpl/multimedia_link_component.gif) no-repeat center;\" auto_start=\"false\" alt=\"\" />");
} }
// binary파일의 경우 url_link 컴포넌트 연결 // binary파일의 경우 url_link 컴포넌트 연결