diff --git a/common/js/common.js b/common/js/common.js index b7cbdf891..e184ba421 100644 --- a/common/js/common.js +++ b/common/js/common.js @@ -745,6 +745,7 @@ function doDocumentPreview(obj) { if(!dummy_obj.length) { jQuery( '
'+ + ''+ ''+ ''+ ''+ diff --git a/modules/document/document.view.php b/modules/document/document.view.php index 288ed5965..202dd92b0 100644 --- a/modules/document/document.view.php +++ b/modules/document/document.view.php @@ -73,7 +73,7 @@ class documentView extends document $obj->content = $content; $obj->module_srl = getModel('module')->getModuleInfoByMid(Context::get('mid'))->module_srl; $content = getModel('editor')->converter($obj, 'document'); - + $content = sprintf('
%s
', Context::get('logged_info')->member_srl, $content); Context::set('content', $content); $this->setTemplatePath($this->module_path.'tpl');