提交 18c96fe6 编写于 作者: NoSubject's avatar NoSubject

Merge branch 'fix/search' into 'develop'

Merge of fix/search to develop 修复搜索cms权限获取的错误

See merge request o2oa/o2oa!1083
......@@ -194,7 +194,7 @@ MWF.xApplication.Search.ResaultItem = new Class({
}
if (this.data.type==="cms"){
//getDocumentControl
MWF.Actions.get("x_cms_assemble_control").getDocumentControl(this.data.reference, function(){
MWF.Actions.get("x_cms_assemble_control").getDocumentControl(this.data.reference, function(json){
if (json.data.control.allowVisit){
this.data.permission = "y";
}else{
......@@ -278,4 +278,4 @@ MWF.xApplication.Search.ResaultItem = new Class({
}
this.inforNode.set("html", html);
}
});
\ No newline at end of file
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册