From cc21e013ab778d282ad6eb99ed40d807734310cc Mon Sep 17 00:00:00 2001 From: haneul Date: Mon, 28 Jun 2010 08:30:56 +0000 Subject: [PATCH] skip editor style for mobile pages git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7556 201d5d3c-b55e-5fd7-737f-ddc643e51545 --- modules/editor/editor.controller.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/editor/editor.controller.php b/modules/editor/editor.controller.php index 0d66ffaa8..8b4c0162a 100644 --- a/modules/editor/editor.controller.php +++ b/modules/editor/editor.controller.php @@ -153,6 +153,7 @@ **/ function triggerEditorComponentCompile(&$content) { if(Context::getResponseMethod()!='HTML') return new Object(); + if(Mobile::isFromMobilePhone()) return new Object(); $module_info = Context::get('module_info'); $module_srl = $module_info->module_srl; @@ -184,6 +185,7 @@ } $content = $this->transComponent($content); + return new Object(); } /**