mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
위젯 코드가 컴파일된 결과물로 나오는 버그 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6137 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
31471c10a4
commit
544f5f336a
2 changed files with 3 additions and 0 deletions
|
|
@ -139,6 +139,8 @@
|
||||||
* @brief 에디터컴포넌트의 코드를 결과물로 변환 + 문서서식 style 지정
|
* @brief 에디터컴포넌트의 코드를 결과물로 변환 + 문서서식 style 지정
|
||||||
**/
|
**/
|
||||||
function triggerEditorComponentCompile(&$content) {
|
function triggerEditorComponentCompile(&$content) {
|
||||||
|
if(Context::getRequestVars()!='HTML') return new Object();
|
||||||
|
|
||||||
$module_info = Context::get('module_info');
|
$module_info = Context::get('module_info');
|
||||||
$module_srl = $module_info->module_srl;
|
$module_srl = $module_info->module_srl;
|
||||||
if($module_srl) {
|
if($module_srl) {
|
||||||
|
|
|
||||||
|
|
@ -273,6 +273,7 @@
|
||||||
* display::before 에서 호출됨
|
* display::before 에서 호출됨
|
||||||
**/
|
**/
|
||||||
function triggerWidgetCompile(&$content) {
|
function triggerWidgetCompile(&$content) {
|
||||||
|
if(Context::getResponseMethod()!='HTML') return new Object();
|
||||||
$content = $this->transWidgetCode($content, $this->layout_javascript_mode);
|
$content = $this->transWidgetCode($content, $this->layout_javascript_mode);
|
||||||
return new Object();
|
return new Object();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue