에디터 js 스크립트를 가볍게 수정. onsubmit시에 procFilter()함수에서 content 싱크하도록 변경. 게시판/페이지/외부페이지/방명록/블로그 관리자 페이지의 목록 display 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2793 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2007-10-16 06:32:30 +00:00
parent 78822b0df8
commit d95c9611b6
11 changed files with 135 additions and 208 deletions

View file

@ -21,6 +21,7 @@ else if(navigator.vendor!='KDE' && document.all && xUA.indexOf('msie')!=-1){
}
else if(document.layers){xNN4=true;}
var xMac=xUA.indexOf('mac')!=-1;
var xFF=xUA.indexOf('firefox')!=-1;
// (element, event(without 'on'), event listener(function name)[, caption])
function xAddEventListener(e,eT,eL,cap)

View file

@ -300,6 +300,13 @@ function XmlJsFilterProc(confirm_msg) {
// form proc
function procFilter(fo_obj, filter_func) {
// form문 안에 위지윅 에디터가 세팅되어 있을 경우 에디터의 값과 지정된 content field를 sync
var editor_sequence = fo_obj.getAttribute('editor_sequence');
if(typeof(editor_sequence)!='undefined' && editor_sequence && typeof(editorRelKeys)!='undefined' && typeof(editorGetContent)=='function') {
var content = editorGetContent(editor_sequence);
editorRelKeys[editor_sequence]['content'].value = content;
}
filter_func(fo_obj);
return false;
}