From 544f5f336a8b5f4563f447caa98ef7f971c5274a Mon Sep 17 00:00:00 2001 From: zero Date: Fri, 17 Apr 2009 05:21:31 +0000 Subject: [PATCH] =?UTF-8?q?=EC=9C=84=EC=A0=AF=20=EC=BD=94=EB=93=9C?= =?UTF-8?q?=EA=B0=80=20=EC=BB=B4=ED=8C=8C=EC=9D=BC=EB=90=9C=20=EA=B2=B0?= =?UTF-8?q?=EA=B3=BC=EB=AC=BC=EB=A1=9C=20=EB=82=98=EC=98=A4=EB=8A=94=20?= =?UTF-8?q?=EB=B2=84=EA=B7=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6137 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/editor.controller.php | 2 ++ modules/widget/widget.controller.php | 1 + 2 files changed, 3 insertions(+) diff --git a/modules/editor/editor.controller.php b/modules/editor/editor.controller.php index e7dc2dbcf..bf47d14a7 100644 --- a/modules/editor/editor.controller.php +++ b/modules/editor/editor.controller.php @@ -139,6 +139,8 @@ * @brief 에디터컴포넌트의 코드를 결과물로 변환 + 문서서식 style 지정 **/ function triggerEditorComponentCompile(&$content) { + if(Context::getRequestVars()!='HTML') return new Object(); + $module_info = Context::get('module_info'); $module_srl = $module_info->module_srl; if($module_srl) { diff --git a/modules/widget/widget.controller.php b/modules/widget/widget.controller.php index 73e5945ae..95560f8ae 100644 --- a/modules/widget/widget.controller.php +++ b/modules/widget/widget.controller.php @@ -273,6 +273,7 @@ * display::before 에서 호출됨 **/ function triggerWidgetCompile(&$content) { + if(Context::getResponseMethod()!='HTML') return new Object(); $content = $this->transWidgetCode($content, $this->layout_javascript_mode); return new Object(); }