xquared 적용을 위한 javascript 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3038 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2007-11-21 15:22:58 +00:00
parent 04a1fed23c
commit 4a55cfe522
9 changed files with 28 additions and 18 deletions

View file

@ -10,6 +10,7 @@ function exec_xml(module, act, params, callback_func, response_tags, callback_fu
var oXml = new xml_handler();
oXml.reset();
for(var key in params) {
if(!params.hasOwnProperty(key)) continue;
var val = params[key];
oXml.addParam(key, val);
}
@ -88,6 +89,7 @@ function xml_handlerRequest(callBackFunc, xmlObj, callBackFunc2, response_tags,
+ "<params>\n"
for (var key in this.params) {
if(!this.params.hasOwnProperty(key)) continue;
var val = this.params[key];
rd += "<"+key+"><![CDATA["+val+"]]></"+key+">\n";
}

View file

@ -302,9 +302,10 @@ function XmlJsFilterProc(confirm_msg) {
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;
if(typeof(editor_sequence)!='undefined' && editor_sequence && typeof(editorRelKeys)!='undefined') {
if(typeof(editorRelKeys[editor_sequence]['func']) =='function') {
editorRelKeys[editor_sequence]['func'](editor_sequence);
}
}
filter_func(fo_obj);