提交 16237770 编写于 作者: U unknown

内容管理修改

上级 d1092568
......@@ -9,7 +9,7 @@ MWF.xApplication.Selector.MultipleSelector = new Class({
"style": "default",
"types" : [],
"count": 0,
"title": "Select",
"title": MWF.xApplication.Selector.LP.multiSelectTitle,
"groups": [], //选person, group, role 时的范围
"roles": [], //选选person, group, role 时的范围
"units": [], //选 company, department, duty, identity 时的范围
......
MWF.xApplication.Selector.LP = MWF.SelectorLP = {
"title": "Select",
"multiSelectTitle": "Select",
"selectPerson": "Select Person",
"selectIdentity": "Select Identity",
"selectUnit": "Select Unit",
......
MWF.xApplication.Selector.LP = MWF.SelectorLP = {
"title": "选择",
"multiSelectTitle": "选择",
"selectPerson": "选择人员",
"selectIdentity": "选择身份",
"selectUnit": "选择组织",
......
......@@ -6,7 +6,7 @@ MWF.O2Selector = new Class({
options: {
"count": 0,
"type": "person",
"title": "Select Person",
"title": MWF.xApplication.Selector.LP.multiSelectTitle,
"groups": [],
"roles": [],
"units": [],
......
......@@ -491,7 +491,8 @@ MWF.xApplication.cms.Index.Newer = new Class({
"readonly" :false,
"documentId": id,
"appId": appId,
"postPublish" : function(){
"onPostPublish" : function(){
debugger;
if(_self.view && _self.view.reload )_self.view.reload();
this.fireEvent( "postPublish" );
}.bind(this)
......
......@@ -226,7 +226,16 @@ MWF.xApplication.cms.Module.Main = new Class({
//if(this.options.columnData.ignoreTitle===undefined) this.options.columnData.ignoreTitle = false;
this.creater = new MWF.xApplication.cms.Index.Newer( this.options.columnData, null, this, this.view, {
restrictToColumn : true
restrictToColumn : true,
onPostPublish : function () {
debugger;
try{
if(this.view && this.view.reload){
this.view.reload();
}
}catch (e) {
}
}.bind(this)
//ignoreTitle : this.options.columnData.ignoreTitle,
//latest : this.options.columnData.latest
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册