From b350ec545147072efa8cfb9924e57e058d6911b2 Mon Sep 17 00:00:00 2001 From: whantae jiwhantae ji Date: Mon, 13 Jul 2015 11:21:50 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AA=A8=EB=B0=94=EC=9D=BC=EC=97=90=EC=84=9C?= =?UTF-8?q?=EB=8F=84=20api=EB=A5=BC=20=EC=82=AC=EC=9A=A9=ED=95=A0=20?= =?UTF-8?q?=EC=88=98=20=EC=9E=88=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit jQuery.exec_json, jQuery.exec_xml 사용시 모바일에선 결과가 다른 문제 수정 mothos -> mothods 오타 수정 --- classes/module/ModuleObject.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/module/ModuleObject.class.php b/classes/module/ModuleObject.class.php index 9485a74c4..7be9fe94a 100644 --- a/classes/module/ModuleObject.class.php +++ b/classes/module/ModuleObject.class.php @@ -472,8 +472,8 @@ class ModuleObject extends Object return FALSE; } } - // execute api methos of the module if view action is and result is XMLRPC or JSON - if($this->module_info->module_type == 'view') + // execute api methods of the module if view action is and result is XMLRPC or JSON + if($this->module_info->module_type == 'view' || $this->module_info->module_type == 'mobile') { if(Context::getResponseMethod() == 'XMLRPC' || Context::getResponseMethod() == 'JSON') {