mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +09:00
에디터 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:
parent
78822b0df8
commit
d95c9611b6
11 changed files with 135 additions and 208 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue