IE6에서 에디터에서 사용되는 iframe이 parent elements의 크기를 넘어버리는 경우가 발생하여 onLoad후에 다시 style=width:100%를 지정하여 문제 해결

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2443 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-08-31 04:00:39 +00:00
parent 090fca51d8
commit 0767476eba

View file

@ -27,6 +27,7 @@ function editorStart(upload_target_srl, resizable, editor_height) {
// iframe obj를 찾음
var iframe_obj = editorGetIFrame(upload_target_srl);
if(!iframe_obj) return;
iframe_obj.style.width = '100%';
// 현 에디터를 감싸고 있는 form문을 찾아서 content object를 찾아서 내용 sync
var fo_obj = iframe_obj.parentNode;