From 4ebffe05b94a4dae8d7d1ea4728a929f58f91b65 Mon Sep 17 00:00:00 2001 From: zero Date: Fri, 23 Mar 2007 01:56:11 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@613 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- .../components/slide_show/tpl/popup.html | 6 +- .../editor/components/slide_show/tpl/popup.js | 88 +++++++++++++++---- 2 files changed, 75 insertions(+), 19 deletions(-) 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(); }