提交 d7b86a6c 编写于 作者: U unknown

修复数据表格、数据模板、手写板的styles保存后刷新失效的问题

上级 8ee5f092
......@@ -28,6 +28,8 @@ MWF.xApplication.process.FormDesigner.Module.Datatable = MWF.FCDatatable = new C
this.containers = [];
this.elements = [];
this.selectedMultiTds = [];
debugger;
},
clearTemplateStyles: function(styles){
if (styles){
......@@ -300,6 +302,9 @@ MWF.xApplication.process.FormDesigner.Module.Datatable = MWF.FCDatatable = new C
},
setPropertiesOrStyles: function(name){
if (name=="styles"){
try{
this.setCustomStyles();
}catch(e){}
var border = this.node.getStyle("border");
this.node.clearStyles();
this.node.setStyles(this.css.moduleNode);
......@@ -322,6 +327,9 @@ MWF.xApplication.process.FormDesigner.Module.Datatable = MWF.FCDatatable = new C
}
if (name=="properties"){
try{
this.setCustomProperties();
}catch(e){}
this.node.getFirst().setProperties(this.json.properties);
}
},
......
......@@ -380,6 +380,9 @@ MWF.xApplication.process.FormDesigner.Module.Datatemplate = MWF.FCDatatemplate =
},
setPropertiesOrStyles: function(name){
if (name=="styles"){
try{
this.setCustomStyles();
}catch(e){}
var border = this.node.getStyle("border");
this.node.clearStyles();
this.node.setStyles(this.css.moduleNode);
......@@ -393,6 +396,9 @@ MWF.xApplication.process.FormDesigner.Module.Datatemplate = MWF.FCDatatemplate =
}
if (name=="properties"){
try{
this.setCustomProperties();
}catch(e){}
this.node.setProperties(this.json.properties);
}
},
......
......@@ -107,6 +107,9 @@ MWF.xApplication.process.FormDesigner.Module.WritingBoard = MWF.FCWritingBoard =
}
if (name=="properties"){
try{
this.setCustomProperties();
}catch(e){}
this.node.setProperties(this.json.properties);
}
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册