提交 6c5025ae 编写于 作者: U unknown

[内容管理]修复单选按钮预览报错的问题

上级 dd97f19f
......@@ -158,7 +158,7 @@ MWF.xApplication.process.Xform.$Input = MWF.APP$Input = new Class({
_loadStyles: function(){
if (this.json.styles) this.node.setStyles(this.json.styles);
if (this.json.inputStyles) if (this.node.getFirst()) this.node.getFirst().setStyles(this.json.inputStyles);
if (this.iconNode && this.iconNode.offsetParent !== null ){ //没有被隐藏
if (this.iconNode && this.iconNode.offsetParent !== null){
var size = this.node.getSize();
//if (!size.y){
// var y1 = this.node.getStyle("height");
......
MWF.xDesktop.requireApp("process.Xform", "$Input", null, false);
MWF.require("MWF.widget.UUID", null, false);
MWF.xApplication.process.Xform.Checkbox = MWF.APPCheckbox = new Class({
Implements: [Events],
Extends: MWF.APP$Input,
......
MWF.xDesktop.requireApp("process.Xform", "$Input", null, false);
MWF.require("MWF.widget.UUID", null, false);
MWF.xApplication.process.Xform.Radio = MWF.APPRadio = new Class({
Implements: [Events],
Extends: MWF.APP$Input,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册