From 79ba0e7b74e3183f8f16212deeaf1339ff49758d Mon Sep 17 00:00:00 2001 From: zero Date: Wed, 4 Jul 2007 02:41:34 +0000 Subject: [PATCH] git-svn-id: http://xe-core.googlecode.com/svn/trunk@1856 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/tpl/js/editor.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/editor/tpl/js/editor.js b/modules/editor/tpl/js/editor.js index 663fc716a..4c37b96cd 100755 --- a/modules/editor/tpl/js/editor.js +++ b/modules/editor/tpl/js/editor.js @@ -29,7 +29,7 @@ function editorStart(upload_target_srl, resizable, height) { // iframe_area를 찾음 var iframe_area = xGetElementById("editor_iframe_area_"+upload_target_srl); - xHeight(iframe_area, height); + xHeight(iframe_area, height+10); xInnerHtml(iframe_area, ''); // iframe obj를 찾음 @@ -574,7 +574,9 @@ function editorDragStart(evt) { editorDragObj.y = e.pageY; editorDragObj.obj = e.target; editorDragObj.id = id.substr('editor_drag_bar_'.length); + var iframe_obj = editorGetIFrame(editorDragObj.id); + editorDragObj.source_height = xHeight(iframe_obj); xAddEventListener(document, 'mousemove', editorDragMove, false); @@ -593,6 +595,7 @@ function editorDragMove(evt) { var iframe_obj = editorGetIFrame(editorDragObj.id); xHeight(iframe_obj, xHeight(iframe_obj)+h); + xHeight(iframe_obj.parentNode, xHeight(iframe_obj)+10); } function editorDragStop(evt) {