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

修复没有表单时应用属性保存错误的问题

上级 1d55b75e
...@@ -1179,7 +1179,7 @@ MWF.xApplication.process.ProcessManager.Select = new Class({ ...@@ -1179,7 +1179,7 @@ MWF.xApplication.process.ProcessManager.Select = new Class({
this.content.set("text", this.getText(this.value)); this.content.set("text", this.getText(this.value));
}, },
save: function(){ save: function(){
if (this.input) this.value = this.input.options[this.input.selectedIndex].get("value"); if (this.input) if (this.input.options.length)this.value = this.input.options[this.input.selectedIndex].get("value");
return this.value; return this.value;
} }
}); });
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册