git-svn-id: http://xe-core.googlecode.com/svn/trunk@1092 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-10 13:36:44 +00:00
parent 9e35495cd7
commit efc54df346
2 changed files with 5 additions and 1 deletions

View file

@ -88,7 +88,7 @@
</div>
<!-- iframe -->
<div class="editor_iframe_box"><iframe id="editor_iframe_{$upload_target_srl}" style="border:0px;width:99%;height:300px;margin:0px;"></iframe><div class="editor_drag_down_area" id="editor_drag_bar_{$upload_target_srl}"></div></div>
<div class="editor_iframe_box" id="editor_iframe_area_{$upload_target_srl}"></div><div class="editor_drag_down_area" id="editor_drag_bar_{$upload_target_srl}"></div>
<div class="editor_autosaved_message" id="editor_autosaved_message">{$lang->msg_auto_saved} &nbsp;</div>
</div>

View file

@ -25,6 +25,10 @@ function editorInit(upload_target_srl) {
// editor 시작 (upload_target_srl로 iframe객체를 얻어서 쓰기 모드로 전환)
function editorStart(upload_target_srl) {
// iframe_area를 찾음
var iframe_area = xGetElementById("editor_iframe_area_"+upload_target_srl);
xInnerHtml(iframe_area, "<iframe id='editor_iframe_"+upload_target_srl+"' frameBorder='0' style='border:0px;width:99%;height:300px;margin:0px;'></iframe>");
// iframe obj를 찾음
var iframe_obj = editorGetIFrame(upload_target_srl);
if(!iframe_obj) return;