diff --git a/modules/editor/components/slide_show/tpl/popup.html b/modules/editor/components/slide_show/tpl/popup.html index febad2d63..dca049f4e 100644 --- a/modules/editor/components/slide_show/tpl/popup.html +++ b/modules/editor/components/slide_show/tpl/popup.html @@ -9,10 +9,10 @@
{$lang->slide_show}
{$lang->width}
-
px
+
px
{$lang->height}
-
px
+
px
{$lang->cmd_make_thumbnail}
@@ -27,7 +27,7 @@
- +
diff --git a/modules/editor/components/slide_show/tpl/popup.js b/modules/editor/components/slide_show/tpl/popup.js index f51d302d0..6ae98dbea 100644 --- a/modules/editor/components/slide_show/tpl/popup.js +++ b/modules/editor/components/slide_show/tpl/popup.js @@ -3,29 +3,85 @@ function getSlideShow() { // 부모창이 있는지 체크 if(typeof(opener)=="undefined") return; - // 부모창의 업로드 이미지 목록을 모두 가져와서 세팅 - var fo = xGetElementById("fo"); - var upload_target_srl = fo.upload_target_srl.value; - var parent_list_obj = opener.xGetElementById("uploaded_file_list_"+upload_target_srl); - var list_obj = xGetElementById("image_list"); - - var length = parent_list_obj.length; - for(var i=0;i"+images_list+""; + opener.editorFocus(opener.editorPrevSrl); + var iframe_obj = opener.editorGetIFrame(opener.editorPrevSrl) + opener.editorReplaceHTML(iframe_obj, text); + } + + opener.editorFocus(opener.editorPrevSrl); + window.close(); }